summaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-07-21 16:43:19 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-07-21 16:43:19 +0200
commitea107396fdd72cdbbaf4820d09a87bd879ba7e6c (patch)
treedbba0af92a52e6733dbd300da285a875ee7e94d4 /test/functional
parent59ca07b0d1a1710ab729636ea00de4b638f56110 (diff)
downloadcoderay-ea107396fdd72cdbbaf4820d09a87bd879ba7e6c.tar.gz
check token kinds in Lint encoders
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 3053b54..752d4ba 100755
--- a/test/functional/basic.rb
+++ b/test/functional/basic.rb
@@ -164,9 +164,7 @@ more code # and another comment, in-line.
end
end
assert_equal 'reserved', CodeRay::TokenKinds[:reserved]
- assert_warning 'Undefined Token kind: :shibboleet' do
- assert_equal false, CodeRay::TokenKinds[:shibboleet]
- end
+ assert_equal false, CodeRay::TokenKinds[:shibboleet]
end
class Milk < CodeRay::Encoders::Encoder