diff options
| author | Jack Nagel | 2014-07-25 10:42:47 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-07-25 12:28:05 -0500 | 
| commit | 87b4b6fb7d2b2921371da53a9407ee93c04d2b31 (patch) | |
| tree | c64a9d3ea0c16f9e2c4576486d5e3af62d884a20 /Library/Homebrew/test/test_updater.rb | |
| parent | 432181671c6f82f2525a313cd1fa89ab8d60d609 (diff) | |
| download | homebrew-87b4b6fb7d2b2921371da53a9407ee93c04d2b31.tar.bz2 | |
update: remove unused rename detection
Right now this code only produces false positives. When we have real
support for renames, we can implement it more carefully.
Closes #31126.
Diffstat (limited to 'Library/Homebrew/test/test_updater.rb')
| -rw-r--r-- | Library/Homebrew/test/test_updater.rb | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_updater.rb b/Library/Homebrew/test/test_updater.rb index 5c6c6c4ef..28ce48ad0 100644 --- a/Library/Homebrew/test/test_updater.rb +++ b/Library/Homebrew/test/test_updater.rb @@ -56,7 +56,7 @@ class UpdaterTests < Homebrew::TestCase        @updater.in_repo_expect("git config core.autocrlf false")        @updater.in_repo_expect("git pull -q origin refs/heads/master:refs/remotes/origin/master")        @updater.in_repo_expect("git rev-parse -q --verify HEAD", "3456cdef") -      @updater.in_repo_expect("git diff-tree -r --name-status -M85% 1234abcd 3456cdef", diff_output) +      @updater.in_repo_expect("git diff-tree -r --name-status --diff-filter=AMD 1234abcd 3456cdef", diff_output)        @updater.pull!        @report.update(@updater.report)      end @@ -73,7 +73,7 @@ class UpdaterTests < Homebrew::TestCase      assert_predicate @updater, :expectations_met?      assert_empty @report.select_formula(:M)      assert_empty @report.select_formula(:A) -    assert_empty @report.select_formula(:R) +    assert_empty @report.select_formula(:D)    end    def test_update_homebrew_with_formulae_changes @@ -81,7 +81,6 @@ class UpdaterTests < Homebrew::TestCase      assert_predicate @updater, :expectations_met?      assert_equal %w{ xar yajl }, @report.select_formula(:M)      assert_equal %w{ antiword bash-completion ddrescue dict lua }, @report.select_formula(:A) -    assert_equal %w{ shapelib }, @report.select_formula(:R)    end    def test_update_homebrew_with_tapped_formula_changes  | 
