Skip to content

Commit

Permalink
Properly indent test file
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbrictson committed Nov 28, 2024
1 parent 8e8d84c commit 870546c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rename_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def main # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
"Example" => as_module(gem_name)

git "mv", "test/example_test.rb", "test/#{as_path(gem_name)}_test.rb"
reindent_module "test/#{as_path(gem_name)}_test.rb"

replace_in_file "test/test_helper.rb",
'require "example"' => %Q(require "#{as_path(gem_name)}")
Expand Down

0 comments on commit 870546c

Please sign in to comment.