summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2008-08-04 20:48:01 +0000
committermurphy <murphy@rubychan.de>2008-08-04 20:48:01 +0000
commit11aacacf62dcaf99c4d1cb42a8227b12879c6c8b (patch)
tree6ae0a20d5b92f39b5df0f73bda6927cab6c95267
parentf01dd70e76c89025d09436a5157e71b283d03c37 (diff)
downloadcoderay-11aacacf62dcaf99c4d1cb42a8227b12879c6c8b.tar.gz
Changed test suite to test even big files. I hope you have a fast machine.
-rw-r--r--test/scanners/coderay_suite.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/scanners/coderay_suite.rb b/test/scanners/coderay_suite.rb
index 10939d1..01d3393 100644
--- a/test/scanners/coderay_suite.rb
+++ b/test/scanners/coderay_suite.rb
@@ -95,12 +95,12 @@ module CodeRay
class TestCase < Test::Unit::TestCase
if ENV['deluxe']
- MAX_CODE_SIZE_TO_HIGHLIGHT = 5_000_000
- MAX_CODE_SIZE_TO_TEST = 5_000_000
+ MAX_CODE_SIZE_TO_HIGHLIGHT = 500_000_000
+ MAX_CODE_SIZE_TO_TEST = 500_000_000
DEFAULT_MAX = 1024
else
- MAX_CODE_SIZE_TO_HIGHLIGHT = 20_000
- MAX_CODE_SIZE_TO_TEST = 100_000
+ MAX_CODE_SIZE_TO_HIGHLIGHT = 5_000_000
+ MAX_CODE_SIZE_TO_TEST = 5_000_000
DEFAULT_MAX = 128
end