Skip to content

Commit

Permalink
Revises quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed Sep 2, 2024
1 parent f96c260 commit c4f17f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/lib/zeitwerk/test_reloading.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def silence_exceptions_in_threads
end
end

test 'reloading namespaces that are inceptions in other projects' do
test "reloading namespaces that are inceptions in other projects" do
on_teardown do
remove_const :MyGem
delete_loaded_feature "lib/my_gem.rb"
Expand All @@ -107,11 +107,11 @@ def silence_exceptions_in_threads
module MyGem; end
EOS

app_files = [["app/my_gem/foo.rb", 'MyGem::Foo = true']]
app_files = [["app/my_gem/foo.rb", "MyGem::Foo = true"]]

with_files(gem_files + app_files) do
with_load_path("lib") do
require 'my_gem'
require "my_gem"

loader.push_dir("app")
loader.enable_reloading
Expand Down

0 comments on commit c4f17f8

Please sign in to comment.