diff --git a/tests/run.rb b/tests/run.rb index 7580d99d6..3cc2a8de9 100755 --- a/tests/run.rb +++ b/tests/run.rb @@ -1,6 +1,8 @@ #!/usr/bin/env ruby +require "digest/md5" require "json" +require "json_schema" require "pp" require "tempfile" diff --git a/tests/test.d/simple_test.rb b/tests/test.d/simple_test.rb index ba2346be3..d2b7f0b1f 100644 --- a/tests/test.d/simple_test.rb +++ b/tests/test.d/simple_test.rb @@ -334,8 +334,6 @@ class SimpleTest def json_schema_identification return @@json_schema_identification if @@json_schema_identification - require "json_schema" - json_store = JsonSchema::DocumentStore.new parser = JsonSchema::Parser.new expander = JsonSchema::ReferenceExpander.new diff --git a/tests/test.d/util.rb b/tests/test.d/util.rb index 5aae085de..45964e55f 100644 --- a/tests/test.d/util.rb +++ b/tests/test.d/util.rb @@ -1,5 +1,3 @@ -require 'digest/md5' - $message_mutex = Mutex.new def show_message message $message_mutex.lock