diff options
author | Florian Frank <flori@ping.de> | 2011-01-02 22:15:30 +0100 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2011-01-02 22:25:32 +0100 |
commit | a3a4c82b577ea44cbebe7c07a4b08b1d0079bd61 (patch) | |
tree | 0446107759fc24b32eb0727da2d5fa34ed778409 /tests/test_json_generate.rb | |
parent | 7d20dd9bce9f333c451d074cc0d2ac90560399e0 (diff) | |
download | json-a3a4c82b577ea44cbebe7c07a4b08b1d0079bd61.tar.gz |
fixed test setup
Diffstat (limited to 'tests/test_json_generate.rb')
-rwxr-xr-x | tests/test_json_generate.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/test_json_generate.rb b/tests/test_json_generate.rb index 5380a06..e6219df 100755 --- a/tests/test_json_generate.rb +++ b/tests/test_json_generate.rb @@ -2,11 +2,7 @@ # -*- coding: utf-8 -*- require 'test/unit' -case ENV['JSON'] -when 'pure' then require 'json/pure' -when 'ext' then require 'json/ext' -else require 'json' -end +require File.join(File.dirname(__FILE__), 'setup_variant') class TC_JSONGenerate < Test::Unit::TestCase include JSON |