aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_pathname.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/test/test_pathname.rb b/Library/Homebrew/test/test_pathname.rb
index 5d7441c8e..61e1013d1 100644
--- a/Library/Homebrew/test/test_pathname.rb
+++ b/Library/Homebrew/test/test_pathname.rb
@@ -107,15 +107,15 @@ class PathnameTests < Homebrew::TestCase
end
def test_install_renamed
- @dir.extend(InstallRenamed)
+ @dst.extend(InstallRenamed)
@file.write "a"
- @dir.install @file
+ @dst.install @file
@file.write "b"
- @dir.install @file
+ @dst.install @file
- assert_equal "a", File.read(@dir+@file.basename)
- assert_equal "b", File.read(@dir+"#{@file.basename}.default")
+ assert_equal "a", File.read(@dst+@file.basename)
+ assert_equal "b", File.read(@dst+"#{@file.basename}.default")
end
end