diff options
author | murphy <murphy@rubychan.de> | 2010-05-01 01:31:56 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-05-01 01:31:56 +0000 |
commit | fa975bbf5d40644d987887b4cf273a3f02612f03 (patch) | |
tree | 5ffada8100c1b6cb9057dec7985daaf6d1851396 /test/functional/basic.rb | |
parent | e271dc13633fa6dba9fb87f415d72505af0cc88c (diff) | |
download | coderay-fa975bbf5d40644d987887b4cf273a3f02612f03.tar.gz |
Direct Streaming! See #142 and Changes.textile.
Diffstat (limited to 'test/functional/basic.rb')
-rwxr-xr-x | test/functional/basic.rb | 6 |
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 |