summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2015-06-13 12:43:32 +0200
committerFlorian Frank <flori@ping.de>2015-06-13 12:43:32 +0200
commit7ebd90f611841c7ee94471f3287ff7d79223be45 (patch)
treec52d9d57ef11a8ecb3484946f7b44b56c3515b5d /tests
parenta4d6f51b75ac00ac4f4960b96fae3dbcff173875 (diff)
downloadjson-7ebd90f611841c7ee94471f3287ff7d79223be45.tar.gz
Remove dependency on permutation
Ruby can do this by now on her own.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_json.rb14
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