summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-10-17 11:30:01 +0000
committermurphy <murphy@rubychan.de>2006-10-17 11:30:01 +0000
commit2c0a26c2f541fdd74d7af2d814c91d799121f761 (patch)
treef69dc47ab62f755bac1644b1d7788c43ec5e5c76
parentc1188b9af9b1696a2f985014b1c05c82e7fd99fb (diff)
downloadcoderay-2c0a26c2f541fdd74d7af2d814c91d799121f761.tar.gz
Fixed test: sort plugin lists.
-rwxr-xr-xtest/functional/basic.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/basic.rb b/test/functional/basic.rb
index 01fcd4f..d793f5f 100755
--- a/test/functional/basic.rb
+++ b/test/functional/basic.rb
@@ -32,13 +32,13 @@ class Basic < Test::Unit::TestCase
count debug div html null page span statistic text tokens xml yaml
)
def test_list_of_encoders
- assert_equal(ENCODERS_LIST, CodeRay::Encoders.list)
+ assert_equal(ENCODERS_LIST, CodeRay::Encoders.list.sort)
end
SCANNERS_LIST = %w(
c delphi html nitro_xhtml plaintext rhtml ruby xml
)
def test_list_of_encoders
- assert_equal(SCANNERS_LIST, CodeRay::Scanners.list)
+ assert_equal(SCANNERS_LIST, CodeRay::Scanners.list.sort)
end
end \ No newline at end of file