summaryrefslogtreecommitdiff
path: root/test/unit/null.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-09-19 01:47:08 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2011-09-19 01:47:08 +0200
commit2f97912d6372b3edde924f83ed283b97f6472273 (patch)
treede7cb89c4f44e03f280ef831295a33339e4d31e8 /test/unit/null.rb
parent14b4728342af152f865f29e67d583c733e912756 (diff)
downloadcoderay-2f97912d6372b3edde924f83ed283b97f6472273.tar.gz
TokensProxy: wrap up
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