summaryrefslogtreecommitdiff
path: root/test/functional/basic.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-09-21 02:41:52 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2011-09-21 02:41:52 +0200
commit0840836ff397f4a3404cdf51ff95b41e8bf9650f (patch)
tree141fe139f214d162ab5d7c1f5a3b3e611610ed08 /test/functional/basic.rb
parent8b8d32e28ec54276ec31543ae10b46834e09e4a8 (diff)
downloadcoderay-0840836ff397f4a3404cdf51ff95b41e8bf9650f.tar.gz
cleanups, documentation for TokensProxy
Diffstat (limited to 'test/functional/basic.rb')
-rwxr-xr-xtest/functional/basic.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/basic.rb b/test/functional/basic.rb
index 5d03513..bf289b3 100755
--- a/test/functional/basic.rb
+++ b/test/functional/basic.rb
@@ -148,7 +148,9 @@ more code # and another comment, in-line.
end
end
assert_equal 'reserved', CodeRay::TokenKinds[:reserved]
- assert_equal false, CodeRay::TokenKinds[:shibboleet]
+ assert_warning 'Undefined Token kind: :shibboleet' do
+ assert_equal false, CodeRay::TokenKinds[:shibboleet]
+ end
end
class Milk < CodeRay::Encoders::Encoder