We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 507eebf commit 40b713dCopy full SHA for 40b713d
test/test_pp.rb
@@ -257,7 +257,6 @@ def test_hash
257
end
258
259
def test_hash_symbol_colon_key
260
- omit if RUBY_VERSION < "3.4."
261
no_quote = "{a: 1, a!: 1, a?: 1}"
262
unicode_quote = "{\u{3042}: 1}"
263
quote0 = '{"": 1}'
@@ -270,7 +269,7 @@ def test_hash_symbol_colon_key
270
269
assert_equal(quote1, PP.singleline_pp(eval(quote1), ''.dup))
271
assert_equal(quote2, PP.singleline_pp(eval(quote2), ''.dup))
272
assert_equal(quote3, PP.singleline_pp(eval(quote3), ''.dup))
273
- end
+ end if RUBY_VERSION >= "3.4."
274
275
def test_hash_in_array
276
omit if RUBY_ENGINE == "jruby"
0 commit comments