summaryrefslogtreecommitdiff
path: root/test/ruby/test_encoding.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_encoding.rb')
-rw-r--r--test/ruby/test_encoding.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_encoding.rb b/test/ruby/test_encoding.rb
index 5c1eb50bb1..0cd5bf49dc 100644
--- a/test/ruby/test_encoding.rb
+++ b/test/ruby/test_encoding.rb
@@ -154,7 +154,7 @@ class TestEncoding < Test::Unit::TestCase
r, _obj = Ractor.select(*rs)
rs.delete(r)
end
- assert rs.empty?
+ assert_empty rs
end;
end
@@ -173,7 +173,7 @@ class TestEncoding < Test::Unit::TestCase
r, _obj = Ractor.select(*rs)
rs.delete(r)
end
- assert rs.empty?
+ assert_empty rs
end;
end
end