diff options
| author | Jack Nagel | 2015-03-26 22:02:14 -0400 |
|---|---|---|
| committer | Jack Nagel | 2015-03-26 22:02:14 -0400 |
| commit | 4c21ad30d85b6b4e43c64c31c9466ca292df8216 (patch) | |
| tree | 63e2e9f8023fe69aa84a2cadcd6a4db8249577d6 /Library | |
| parent | 23d9173cb156eb82a094011a4b571fc3153f33b2 (diff) | |
| download | brew-4c21ad30d85b6b4e43c64c31c9466ca292df8216.tar.bz2 | |
Adjust variable in InstallRenamed test
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/test_pathname.rb | 10 |
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 |
