summary refs log tree commit
path: root/tests
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2011-01-02 23:37:10 +0100
committerFlorian Frank <flori@ping.de>2011-01-02 23:42:29 +0100
commit6dc725aee27ddf514593ffafc9a98e3b20e698d3 (patch)
tree1bce6e88780fec52afadb60135e4a12f7f8b5456 /tests
parentcfa34b24853078f5b91bbed97d8da84fffac0077 (diff)
downloadruby-json-6dc725aee27ddf514593ffafc9a98e3b20e698d3.tar.gz
Rubinius' strscan already has a @match ivar
Diffstat (limited to 'tests')
-rw-r--r--tests/test_json_string_matching.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_json_string_matching.rb b/tests/test_json_string_matching.rb
index 149a63b..6bd74e3 100644
--- a/tests/test_json_string_matching.rb
+++ b/tests/test_json_string_matching.rb
@@ -9,7 +9,7 @@ require 'time'
 class TestJsonStringMatching < Test::Unit::TestCase
   include JSON
 
-  class TestTime < Time
+  class TestTime < ::Time
     def self.json_create(string)
       Time.parse(string)
     end