diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2021-03-01 16:08:47 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2021-03-01 16:08:47 +0100 |
commit | 2cd94597cf092c51cd50ceea9036903ce3578f99 (patch) | |
tree | e6fa19dd0f7530145e5d25da4e8d8b2bb6cdc967 | |
parent | 050259de50e5dd744b193fac7823ce1b1c2be7ef (diff) | |
parent | 4982353275ec097ef78b640245515d34934d7a91 (diff) | |
download | coderay-2cd94597cf092c51cd50ceea9036903ce3578f99.tar.gz |
Merge branch 'master' of github.com:rubychan/coderay
-rw-r--r-- | test/unit/debug.rb | 3 | ||||
-rw-r--r-- | test/unit/statistic.rb | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/test/unit/debug.rb b/test/unit/debug.rb index 88baf56..b694f21 100644 --- a/test/unit/debug.rb +++ b/test/unit/debug.rb @@ -24,7 +24,8 @@ class DebugEncoderTest < Test::Unit::TestCase [" \n", :space], ["[]", :method], [:end_line, :head], - ].flatten + ] + TEST_INPUT.flatten! TEST_OUTPUT = <<-'DEBUG'.chomp integer(10)operator((\\\))string<content(test)>head[ diff --git a/test/unit/statistic.rb b/test/unit/statistic.rb index 1326dca..776774d 100644 --- a/test/unit/statistic.rb +++ b/test/unit/statistic.rb @@ -24,7 +24,8 @@ class StatisticEncoderTest < Test::Unit::TestCase [" \n", :space], ["[]", :method], [:end_line, :test], - ].flatten + ] + TEST_INPUT.flatten! TEST_OUTPUT = <<-'DEBUG' Code Statistics @@ -56,4 +57,4 @@ Token Types (7): assert_equal TEST_OUTPUT, TEST_INPUT.statistic end -end
\ No newline at end of file +end |