summaryrefslogtreecommitdiff
path: root/test/unit/null.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/null.rb')
-rw-r--r--test/unit/null.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/null.rb b/test/unit/null.rb
index ea516d8..d3a9b0d 100644
--- a/test/unit/null.rb
+++ b/test/unit/null.rb
@@ -8,7 +8,7 @@ class NullTest < Test::Unit::TestCase
puts "Hello world!"
RUBY
tokens = CodeRay.scan ruby, :ruby
- assert_equal '', tokens.encode_with(:null)
+ assert_equal '', tokens.encode(:null)
end
end \ No newline at end of file