diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-08-30 17:11:54 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-08-30 17:11:54 +0200 |
commit | 3fc55739f9f4710f13c33ec1ea7e8046a20af611 (patch) | |
tree | 8ed60f88ce13c52e743ee5a5dd8c6a05e599e176 /test/unit/debug.rb | |
parent | cc3185f6864ed2e8d537ec4100d7fcc4abc8f312 (diff) | |
parent | 718c0ac901eef189a1dad36f57a78f36d9d0ba11 (diff) | |
download | coderay-3fc55739f9f4710f13c33ec1ea7e8046a20af611.tar.gz |
Merge branch 'master' into ruby-skip
Diffstat (limited to 'test/unit/debug.rb')
-rw-r--r-- | test/unit/debug.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/debug.rb b/test/unit/debug.rb index f2b80bd..88baf56 100644 --- a/test/unit/debug.rb +++ b/test/unit/debug.rb @@ -18,15 +18,15 @@ class DebugEncoderTest < Test::Unit::TestCase [:begin_group, :string], ['test', :content], [:end_group, :string], - [:begin_line, :test], + [:begin_line, :head], ["\n", :space], ["\n \t", :space], [" \n", :space], ["[]", :method], - [:end_line, :test], + [:end_line, :head], ].flatten TEST_OUTPUT = <<-'DEBUG'.chomp -integer(10)operator((\\\))string<content(test)>test[ +integer(10)operator((\\\))string<content(test)>head[ method([])] @@ -62,10 +62,10 @@ method([])] [:begin_group, :string], ['test', :content], [:end_group, :string], - [:begin_line, :test], + [:begin_line, :unknown], ["\n\n \t \n", :space], ["[]", :method], - [:end_line, :test], + [:end_line, :unknown], ].flatten def test_filtering_text_tokens |