From fa975bbf5d40644d987887b4cf273a3f02612f03 Mon Sep 17 00:00:00 2001 From: murphy Date: Sat, 1 May 2010 01:31:56 +0000 Subject: Direct Streaming! See #142 and Changes.textile. --- test/functional/basic.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/functional/basic.rb') 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 -- cgit v1.2.1