Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Sep 10, 2024
1 parent 35081e3 commit 4d9cebe
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions lib/typing/mongo/bson_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,14 @@ func TestJSONEToMap(t *testing.T) {
"test_null": null,
"test_list": [1.0,2.0,3.0,4.0,"hello"],
"test_nested_object": {
"a": {
"b": {
"c": "hello"
}
},
"a": {"b": {"c": "hello"}},
"test_timestamp": {"$timestamp": { "t": 1678929517, "i": 1 }},
"super_nested": {
"test_timestamp": {"$timestamp": { "t": 1678929517, "i": 1 }},
"foo": "bar"
}
},
"test_timestamp": {
"$timestamp": { "t": 1678929517, "i": 1 }
},
"test_timestamp": {"$timestamp": { "t": 1678929517, "i": 1 }},
"test_nan": NaN,
"test_nan_v2": {"$numberDouble": "NaN"},
"test_nan_string": "NaN",
Expand Down

0 comments on commit 4d9cebe

Please sign in to comment.