Skip to content

Commit b8d78b6

Browse files
authored
Merge pull request #307 from Quasilyte/quasilyte/commentedOutCode
any_tests: remove commented-out code
2 parents 1624edc + 7109b5e commit b8d78b6

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

any_tests/jsoniter_any_float_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,8 @@ func Test_read_float_to_any(t *testing.T) {
8282
should := require.New(t)
8383
any := jsoniter.WrapFloat64(12.3)
8484
anyFloat64 := float64(12.3)
85-
//negaAnyFloat64 := float64(-1.1)
8685
any2 := jsoniter.WrapFloat64(-1.1)
8786
should.Equal(float64(12.3), any.ToFloat64())
88-
//should.Equal("12.3", any.ToString())
8987
should.True(any.ToBool())
9088
should.Equal(float32(anyFloat64), any.ToFloat32())
9189
should.Equal(int(anyFloat64), any.ToInt())

any_tests/jsoniter_any_object_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,4 @@ func Test_object_wrapper_any_get_all(t *testing.T) {
118118
should.Contains(any.Keys(), "Field1")
119119
should.Contains(any.Keys(), "Field2")
120120
should.NotContains(any.Keys(), "Field3")
121-
122-
//should.Contains(any.GetObject()["Field1"].GetArray()[0], 1)
123121
}

0 commit comments

Comments
 (0)