summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-04-11 23:00:53 +0000
committermurphy <murphy@rubychan.de>2010-04-11 23:00:53 +0000
commit5347e2ce2ceab3246ef4cadbf67fc2c6c2f818c8 (patch)
tree50bf43a6211b28bd37a83eb0c63b9fa59b686ace /test
parenta0cfcf343238e0345c5fec8ac5902bf1ffaf1c98 (diff)
downloadcoderay-5347e2ce2ceab3246ef4cadbf67fc2c6c2f818c8.tar.gz
Converted binary to UNIX format, and some cleanup in the version history.
Diffstat (limited to 'test')
-rw-r--r--test/scanners/coderay_suite.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/scanners/coderay_suite.rb b/test/scanners/coderay_suite.rb
index 9b7da98..aa46f9b 100644
--- a/test/scanners/coderay_suite.rb
+++ b/test/scanners/coderay_suite.rb
@@ -416,8 +416,7 @@ module CodeRay
end
File.open(actual_html, 'w') { |f| f.write highlighted }
if okay
- debug = $DEBUG
- $DEBUG = false
+ debug, $DEBUG = $DEBUG, false
FileUtils.copy(actual_html, name + '.expected.html')
$DEBUG = debug
end