test/func.rb in ox-1.2.3 vs test/func.rb in ox-1.2.4
- old
+ new
@@ -60,12 +60,14 @@
:with_instructions=>true,
:circular=>true,
:xsd_date=>true,
:mode=>:object,
:effort=>:tolerant }
+ o3 = { :xsd_date=>false }
Ox.default_options = o2
opts = Ox.default_options()
assert_equal(opts, o2);
+ Ox.default_options = o3 # see if it throws an exception
Ox.default_options = orig # return to original
end
def test_nil
dump_and_load(nil, false)