remove json as a global
This commit is contained in:
@@ -23,8 +23,8 @@ function test_roundtrip(obj, name) {
|
||||
var encoded = toml.encode(obj)
|
||||
var decoded = toml.decode(encoded)
|
||||
if (!deep_equal(obj, decoded)) {
|
||||
log.console(name + " - Original:", json.encode(obj))
|
||||
log.console(name + " - Round-trip:", json.encode(decoded))
|
||||
log.console(name + " - Original:", obj)
|
||||
log.console(name + " - Round-trip:", decoded)
|
||||
throw name + " round-trip failed"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user