diff options
Diffstat (limited to 'test/scanners/coderay_suite.rb')
-rw-r--r-- | test/scanners/coderay_suite.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/scanners/coderay_suite.rb b/test/scanners/coderay_suite.rb index 321ee62..e434d97 100644 --- a/test/scanners/coderay_suite.rb +++ b/test/scanners/coderay_suite.rb @@ -98,6 +98,10 @@ module CodeRay MAX_CODE_SIZE_TO_HIGHLIGHT = 500_000_000 MAX_CODE_SIZE_TO_TEST = 500_000_000 DEFAULT_MAX = 1024 + elsif ENV['fast'] + MAX_CODE_SIZE_TO_HIGHLIGHT = 5_000_000 + MAX_CODE_SIZE_TO_TEST = 1_000_000 + DEFAULT_MAX = 16 else MAX_CODE_SIZE_TO_HIGHLIGHT = 5_000_000 MAX_CODE_SIZE_TO_TEST = 5_000_000 |