test/do_test.rb in rufus-json-1.0.5 vs test/do_test.rb in rufus-json-1.0.6
- old
+ new
@@ -126,9 +126,9 @@
def test_pretty_encode
s = Rufus::Json.pretty_encode(
{ 'a' => 'b', 'e' => [ 1, 2, 3 ], 'c' => { 'd' => true } })
- assert(s.index("\n")) if JSON_LIB != 'active_support'
+ assert(s.index("\n")) if JSON_LIB != 'active_support' && JSON_LIB != 'jrjackson' #no pretty encoding supported
end
end