summaryrefslogtreecommitdiff
path: root/test/suite.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2005-12-11 04:15:33 +0000
committermurphy <murphy@rubychan.de>2005-12-11 04:15:33 +0000
commit952c57ba77b5a36111b9f82f8632e58208c998c4 (patch)
tree8d043fa12c27893c9e8ea8d3596352ce0110f74e /test/suite.rb
parente1aaa2c6c608aaf2577b49a72538d6fe7ceedc27 (diff)
downloadcoderay-952c57ba77b5a36111b9f82f8632e58208c998c4.tar.gz
scanners/ruby/patterns.rb:
Changed recognition of numerics + and - prefixes now belong to the number. tests and demos adjusted. helpers/plugin.rb: Typo in doc.
Diffstat (limited to 'test/suite.rb')
-rw-r--r--test/suite.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/suite.rb b/test/suite.rb
index e8d93de..ef3e2fb 100644
--- a/test/suite.rb
+++ b/test/suite.rb
@@ -66,7 +66,7 @@ class CodeRaySuite < TestCase
File.open(computed, 'w') { |f| f.write result }
print `gvimdiff #{output} #{computed}` if $DEBUG
end
- assert(ok, "Scan error: #{computed} != #{output}")
+ assert(ok, "Scan error: #{computed} != #{output}") unless $DEBUG
else
File.open(output, 'w') do |f| f.write result end
puts "New test: #{output}"