Skip to content

Commit ae065a9

Browse files
committed
Move test directory to test/json same as layout of other default gems
1 parent 37332c5 commit ae065a9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+6
-6
lines changed

Rakefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ task(:set_env_pure) { ENV['JSON'] = 'pure' }
107107

108108
UndocumentedTestTask.new do |t|
109109
t.name = 'do_test_pure'
110-
t.libs << 'lib' << 'tests' << 'tests/lib'
110+
t.libs << 'lib' << 'test' << 'test/lib'
111111
t.ruby_opts << "-rhelper"
112-
t.test_files = FileList['tests/*_test.rb']
112+
t.test_files = FileList['test/json/*_test.rb']
113113
t.verbose = true
114114
t.options = '-v'
115115
end
@@ -187,8 +187,8 @@ if defined?(RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
187187

188188
UndocumentedTestTask.new do |t|
189189
t.name = 'do_test_ext'
190-
t.libs << 'lib' << 'tests'
191-
t.test_files = FileList['tests/*_test.rb']
190+
t.libs << 'lib' << 'test'
191+
t.test_files = FileList['test/json/*_test.rb']
192192
t.verbose = true
193193
t.options = '-v'
194194
end
@@ -266,9 +266,9 @@ else
266266

267267
UndocumentedTestTask.new do |t|
268268
t.name = 'do_test_ext'
269-
t.libs << 'lib' << 'tests' << "tests/lib"
269+
t.libs << 'lib' << 'test' << "test/lib"
270270
t.ruby_opts << '-rhelper'
271-
t.test_files = FileList['tests/*_test.rb']
271+
t.test_files = FileList['test/json/*_test.rb']
272272
t.verbose = true
273273
t.options = '-v'
274274
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)