summaryrefslogtreecommitdiff
path: root/test/scanners/coderay_suite.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-04-02 03:42:12 +0000
committermurphy <murphy@rubychan.de>2010-04-02 03:42:12 +0000
commit937daf4160cdd8cadf936f7ecb5f575c522e276a (patch)
treeda15f97e0564f6dc46b40821934e3be2bb68c5f8 /test/scanners/coderay_suite.rb
parent6d82ed6176a8c3e6a80a6fead652ad659a8892db (diff)
downloadcoderay-937daf4160cdd8cadf936f7ecb5f575c522e276a.tar.gz
Python scanner highlights docstrings as comments (see #190).
Diffstat (limited to 'test/scanners/coderay_suite.rb')
-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 3a98c6b..9b7da98 100644
--- a/test/scanners/coderay_suite.rb
+++ b/test/scanners/coderay_suite.rb
@@ -336,7 +336,7 @@ module CodeRay
actual_filename = expected_filename.sub('.expected.', '.actual.')
File.open(actual_filename, 'wb') { |f| f.write result }
diff = expected_filename.sub(/\.expected\..*/, '.debug.diff')
- system "diff --unified=0 --text #{expected_filename} #{actual_filename} > #{diff}"
+ system "diff --unified=1 --text #{expected_filename} #{actual_filename} > #{diff}"
changed_lines = []
debug_diff = File.read diff
File.open diff + '.html', 'wb' do |f|