summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-10-18 08:37:42 +0000
committermurphy <murphy@rubychan.de>2006-10-18 08:37:42 +0000
commit4666c2ced49f4b45f6106f0a9cb728c3f2fb1814 (patch)
treee66ef72d17a631bd5bdbefc95295e9b2a4a23b02
parent4d7ce5f7037580a127ae26d36f49ac5cdf49000d (diff)
downloadcoderay-4666c2ced49f4b45f6106f0a9cb728c3f2fb1814.tar.gz
Ignore *.debug.diff generated by scanner tests.
-rw-r--r--test/scanners/coderay_suite.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scanners/coderay_suite.rb b/test/scanners/coderay_suite.rb
index 4f415a1..280e182 100644
--- a/test/scanners/coderay_suite.rb
+++ b/test/scanners/coderay_suite.rb
@@ -151,7 +151,7 @@ module CodeRay
unless ok
File.open(actual_filename, 'wb') { |f| f.write result }
if ENV['diff']
- diff = expected_filename.sub(/\.expected\..*/, '.diff')
+ diff = expected_filename.sub(/\.expected\..*/, '.debug.diff')
system "diff #{expected_filename} #{actual_filename} > #{diff}"
system "EDITOR #{diff}"
end