diff options
Diffstat (limited to 'spec/ffi_yajl')
-rw-r--r-- | spec/ffi_yajl/parser_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ffi_yajl/parser_spec.rb b/spec/ffi_yajl/parser_spec.rb index 918bdc0..7172160 100644 --- a/spec/ffi_yajl/parser_spec.rb +++ b/spec/ffi_yajl/parser_spec.rb @@ -302,7 +302,7 @@ describe "FFI_Yajl::Parser" do end end - context "when parsing big floats" do + context "when parsing big floats", :ruby_gte_193 => true do let(:json) { '[0.' + '1' * 2**23 + ']' } it "parses" do @@ -310,7 +310,7 @@ describe "FFI_Yajl::Parser" do end end - context "when parsing long hash keys with symbolize_keys option" do + context "when parsing long hash keys with symbolize_keys option", :ruby_gte_193 => true do let(:json) { '{"' + 'a' * 2**23 + '": 0}' } let(:options) { { :symbolize_keys => true } } |