aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/load_paths_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/load_paths_test.rb')
-rw-r--r--activesupport/test/load_paths_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/load_paths_test.rb b/activesupport/test/load_paths_test.rb
index 979e25bdf3..ac617a9fd8 100644
--- a/activesupport/test/load_paths_test.rb
+++ b/activesupport/test/load_paths_test.rb
@@ -10,7 +10,7 @@ class LoadPathsTest < ActiveSupport::TestCase
}
load_paths_count[File.expand_path('../../lib', __FILE__)] -= 1
- filtered = load_paths_count.select { |k, v| v > 1 }
- assert filtered.empty?, filtered.inspect
+ load_paths_count.select! { |k, v| v > 1 }
+ assert load_paths_count.empty?, load_paths_count.inspect
end
end