summaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
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