File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
tests/MongoDB.Bson.Tests/Serialization/Serializers Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -47,13 +47,13 @@ public void Attribute_should_set_correct_units()
47
47
48
48
var json = testObj . ToJson ( ) ;
49
49
50
- var expected = "{ \" Hours\" : NumberLong(13) , "
51
- + "\" Minutes\" : NumberLong( 804) , "
52
- + "\" Seconds\" : NumberLong( 48293) , "
53
- + "\" Milliseconds\" : NumberLong( 48293000) , "
54
- + "\" Microseconds\" : NumberLong( \" 48293000000\" ) , "
55
- + "\" Ticks\" : NumberLong( \" 482930000000\" ) , "
56
- + "\" Nanoseconds\" : NumberLong( \" 48293000000000\" ) }" ;
50
+ var expected = "{ \" Hours\" : 13 , "
51
+ + "\" Minutes\" : 804, "
52
+ + "\" Seconds\" : 48293, "
53
+ + "\" Milliseconds\" : 48293000, "
54
+ + "\" Microseconds\" : 48293000000, "
55
+ + "\" Ticks\" : 482930000000, "
56
+ + "\" Nanoseconds\" : 48293000000000 }" ;
57
57
Assert . Equal ( expected , json ) ;
58
58
}
59
59
You can’t perform that action at this time.
0 commit comments