diff options
author | murphy <murphy@rubychan.de> | 2010-03-31 22:17:06 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-03-31 22:17:06 +0000 |
commit | 862bc9aa6b002f6b29cf74f93ca66e63cf370819 (patch) | |
tree | 45e8a8731fadca8df5fe86595dc2e8f6dc7a3782 /test/functional/basic.rb | |
parent | cce5dad0dce285a2b7c4f1fe0ec79d10c71a8403 (diff) | |
download | coderay-862bc9aa6b002f6b29cf74f93ca66e63cf370819.tar.gz |
Upporting changes from 0.9.2 (vs. 0.9.1).
Diffstat (limited to 'test/functional/basic.rb')
-rwxr-xr-x | test/functional/basic.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/basic.rb b/test/functional/basic.rb index 9f68763..150089e 100755 --- a/test/functional/basic.rb +++ b/test/functional/basic.rb @@ -1,5 +1,5 @@ -require "test/unit" -require "coderay" +require 'test/unit' +require 'coderay' class BasicTest < Test::Unit::TestCase @@ -103,7 +103,7 @@ more code # and another comment, in-line. def test_rubygems_not_loaded assert_equal nil, defined? Gem - end unless RUBY_VERSION >= '1.9' + end if ENV['check_rubygems'] && RUBY_VERSION < '1.9' def test_list_of_encoders assert_kind_of(Array, CodeRay::Encoders.list) |