diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-10-05 10:03:19 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-10-05 15:13:57 +0900 |
| commit | deb9f45229bc32f3c607b001d46092f69f86664f (patch) | |
| tree | e6097c262e2fc890177ce328a4b063e6fb02d7a5 | |
| parent | ec1655d52019e66725efe94b5bc88b3a98af284e (diff) | |
[ruby/pp] Exclude out-of-scope test instead of omitting
https://github.com/ruby/pp/commit/40b713d70f
| -rw-r--r-- | test/test_pp.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_pp.rb b/test/test_pp.rb index c5340a3e65..8345e5e987 100644 --- a/test/test_pp.rb +++ b/test/test_pp.rb @@ -257,7 +257,6 @@ class PPSingleLineTest < Test::Unit::TestCase end def test_hash_symbol_colon_key - omit if RUBY_VERSION < "3.4." no_quote = "{a: 1, a!: 1, a?: 1}" unicode_quote = "{\u{3042}: 1}" quote0 = '{"": 1}' @@ -270,7 +269,7 @@ class PPSingleLineTest < Test::Unit::TestCase assert_equal(quote1, PP.singleline_pp(eval(quote1), ''.dup)) assert_equal(quote2, PP.singleline_pp(eval(quote2), ''.dup)) assert_equal(quote3, PP.singleline_pp(eval(quote3), ''.dup)) - end + end if RUBY_VERSION >= "3.4." def test_hash_in_array omit if RUBY_ENGINE == "jruby" |
