summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_pattern_matching.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ruby/test_pattern_matching.rb b/test/ruby/test_pattern_matching.rb
index 8c529851b2..e5a18c5afe 100644
--- a/test/ruby/test_pattern_matching.rb
+++ b/test/ruby/test_pattern_matching.rb
@@ -1296,7 +1296,7 @@ END
case CDeconstructCache.new([[[0]]])
in [[1]]
in [[*a]]
- true
+ a == [0]
end
end
@@ -1318,8 +1318,8 @@ END
assert_block do
case CDeconstructCache.new([[0]])
- in [1] => one
- in [0] => zero
+ in [1] => _
+ in [0] => _
true
end
end
@@ -1346,7 +1346,7 @@ END
in [*, String => x, *]
false
in [*, Symbol => x, *]
- true
+ x == :a
end
end
end