summaryrefslogtreecommitdiff
path: root/test/functional/basic.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-05-01 01:31:56 +0000
committermurphy <murphy@rubychan.de>2010-05-01 01:31:56 +0000
commitfa975bbf5d40644d987887b4cf273a3f02612f03 (patch)
tree5ffada8100c1b6cb9057dec7985daaf6d1851396 /test/functional/basic.rb
parente271dc13633fa6dba9fb87f415d72505af0cc88c (diff)
downloadcoderay-fa975bbf5d40644d987887b4cf273a3f02612f03.tar.gz
Direct Streaming! See #142 and Changes.textile.
Diffstat (limited to 'test/functional/basic.rb')
-rwxr-xr-xtest/functional/basic.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/basic.rb b/test/functional/basic.rb
index 150089e..013c0c4 100755
--- a/test/functional/basic.rb
+++ b/test/functional/basic.rb
@@ -14,12 +14,12 @@ class BasicTest < Test::Unit::TestCase
RUBY_TEST_TOKENS = [
['puts', :ident],
[' ', :space],
- [:open, :string],
+ [:begin_group, :string],
['"', :delimiter],
['Hello, World!', :content],
['"', :delimiter],
- [:close, :string]
- ]
+ [:end_group, :string]
+ ].flatten
def test_simple_scan
assert_nothing_raised do
assert_equal RUBY_TEST_TOKENS, CodeRay.scan(RUBY_TEST_CODE, :ruby).to_ary