From 0840836ff397f4a3404cdf51ff95b41e8bf9650f Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Wed, 21 Sep 2011 02:41:52 +0200 Subject: cleanups, documentation for TokensProxy --- test/functional/basic.rb | 4 +++- test/functional/suite.rb | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'test/functional') 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 diff --git a/test/functional/suite.rb b/test/functional/suite.rb index 5490f98..ec23eec 100755 --- a/test/functional/suite.rb +++ b/test/functional/suite.rb @@ -1,5 +1,6 @@ require 'test/unit' +$VERBOSE = $CODERAY_DEBUG = true $:.unshift File.expand_path('../../../lib', __FILE__) require 'coderay' -- cgit v1.2.1