Skip to content

Commit 50b216f

Browse files
committed
Rename test files to have _test postfix instead of test_ prefix
1 parent d9c26cc commit 50b216f

File tree

80 files changed

+3
-3
lines changed

Some content is hidden

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

80 files changed

+3
-3
lines changed

Rakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ end
3838
Rake::TestTask.new(:normal_test) do |t|
3939
t.verbose = true
4040
t.deps = :generate
41-
t.test_files = FileList["test/**/test_*.rb"].exclude("test/rdoc/test_rdoc_rubygems_hook.rb")
41+
t.test_files = FileList["test/**/*_test.rb"].exclude("test/rdoc/rdoc_rubygems_hook_test.rb")
4242
end
4343

4444
Rake::TestTask.new(:rubygems_test) do |t|
4545
t.verbose = true
4646
t.deps = :generate
47-
t.pattern = "test/rdoc/test_rdoc_rubygems_hook.rb"
47+
t.pattern = "test/rdoc/rdoc_rubygems_hook_test.rb"
4848
end
4949

5050
path = "pkg/#{Bundler::GemHelper.gemspec.full_name}"
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.

test/rdoc/test_rdoc_rdoc.rb renamed to test/rdoc/rdoc_rdoc_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def test_document_with_dry_run # functional test
6969

7070
def test_gather_files
7171
a = File.expand_path __FILE__
72-
b = File.expand_path '../test_rdoc_text.rb', __FILE__
72+
b = File.expand_path '../rdoc_text_test.rb', __FILE__
7373

7474
assert_equal [a, b], @rdoc.gather_files([b, a, b])
7575

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)