diff options
author | Florian Frank <flori@ping.de> | 2015-06-13 12:43:32 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2015-06-13 12:43:32 +0200 |
commit | 7ebd90f611841c7ee94471f3287ff7d79223be45 (patch) | |
tree | c52d9d57ef11a8ecb3484946f7b44b56c3515b5d /tests | |
parent | a4d6f51b75ac00ac4f4960b96fae3dbcff173875 (diff) | |
download | json-7ebd90f611841c7ee94471f3287ff7d79223be45.tar.gz |
Remove dependency on permutation
Ruby can do this by now on her own.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_json.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/test_json.rb b/tests/test_json.rb index b666dfa..31624a3 100755 --- a/tests/test_json.rb +++ b/tests/test_json.rb @@ -6,20 +6,6 @@ require 'stringio' require 'tempfile' require 'ostruct' -unless Array.method_defined?(:permutation) - begin - require 'enumerator' - require 'permutation' - class Array - def permutation - Permutation.for(self).to_enum.map { |x| x.project } - end - end - rescue LoadError - warn "Skipping permutation tests." - end -end - class TestJSON < Test::Unit::TestCase include JSON |