summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-10-17 08:51:13 +0000
committermurphy <murphy@rubychan.de>2006-10-17 08:51:13 +0000
commit5af1cca0499334b7bc29778844c28a5c8b7c05b8 (patch)
treea1403dbfffa78f7e51e226098f455b4f1d59c1f9 /test
parentf5768c09019b303e82b7b7905b137b0e1df3823c (diff)
downloadcoderay-5af1cca0499334b7bc29778844c28a5c8b7c05b8.tar.gz
Made CodeRay ready Ruby 1.9:
- tests failed because :symbol.is_a? String. - ...and Array#shuffle! is already built into Ruby 1.9
Diffstat (limited to 'test')
-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 80b6119..8425cef 100644
--- a/test/scanners/coderay_suite.rb
+++ b/test/scanners/coderay_suite.rb
@@ -15,7 +15,7 @@ class Array
end
self
end
-end
+end unless [].respond_to? :shuffle!
module CodeRay