You've already forked json-iterator
							
							
				mirror of
				https://github.com/json-iterator/go.git
				synced 2025-10-31 00:07:40 +02:00 
			
		
		
		
	fix random go test failure
This commit is contained in:
		| @@ -127,7 +127,7 @@ func Test_unexported_fields(t *testing.T) { | ||||
| 	should.Equal("abc", obj.field2) | ||||
| 	str, err := MarshalToString(obj) | ||||
| 	should.Nil(err) | ||||
| 	should.Equal(`{"field1":"world","field-2":"abc"}`, str) | ||||
| 	should.Contains(str, `"field-2":"abc"`) | ||||
| } | ||||
|  | ||||
| type ObjectImplementedMarshaler int | ||||
|   | ||||
		Reference in New Issue
	
	Block a user