summaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-08-20 17:09:50 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2011-08-20 17:09:50 +0200
commit0c9418057607d6aaf11754978662dfb60b3865fa (patch)
tree558b8ce33309de9ef28ad901459d96ddf1c46bf5 /test/functional
parentc073e4d256354d0d25fa65d1bfb0ab754198ff0a (diff)
downloadcoderay-0c9418057607d6aaf11754978662dfb60b3865fa.tar.gz
cleanup CodeRay.scan* methods
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/basic.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/basic.rb b/test/functional/basic.rb
index 1702e4e..2654359 100755
--- a/test/functional/basic.rb
+++ b/test/functional/basic.rb
@@ -213,9 +213,7 @@ more code # and another comment, in-line.
def test_scanner_tokenize
assert_equal ['foo', :plain], CodeRay::Scanners::Plain.new.tokenize('foo')
assert_equal [['foo', :plain], ['bar', :plain]], CodeRay::Scanners::Plain.new.tokenize(['foo', 'bar'])
- assert_raise ArgumentError do
- CodeRay::Scanners::Plain.new.tokenize 42
- end
+ CodeRay::Scanners::Plain.new.tokenize 42
end
def test_scanner_tokens