From 937daf4160cdd8cadf936f7ecb5f575c522e276a Mon Sep 17 00:00:00 2001 From: murphy Date: Fri, 2 Apr 2010 03:42:12 +0000 Subject: Python scanner highlights docstrings as comments (see #190). --- test/scanners/coderay_suite.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/scanners/coderay_suite.rb') 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| -- cgit v1.2.1