summaryrefslogtreecommitdiff
path: root/test/ruby/test_parse.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_parse.rb')
-rw-r--r--test/ruby/test_parse.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb
index db6281f620..863d379096 100644
--- a/test/ruby/test_parse.rb
+++ b/test/ruby/test_parse.rb
@@ -826,7 +826,7 @@ x = __ENCODING__
def test_all_symbols
x = Symbol.all_symbols
assert_kind_of(Array, x)
- assert(x.all? {|s| s.is_a?(Symbol) })
+ assert_empty(x.reject {|s| s.is_a?(Symbol) })
end
def test_is_class_id