diff options
| author | Jack Nagel | 2015-04-20 20:24:43 -0400 | 
|---|---|---|
| committer | Jack Nagel | 2015-04-20 20:25:13 -0400 | 
| commit | 8124695aaa4fbc6b0c68d1db59c9233a98bbc3d0 (patch) | |
| tree | 2685f692c368cdb6099829e0d1bbfb72f2039417 | |
| parent | 733e169812eed33cec0626a82ad4f30eb988a24d (diff) | |
| download | homebrew-8124695aaa4fbc6b0c68d1db59c9233a98bbc3d0.tar.bz2 | |
Our internal directory structure is private
| -rw-r--r-- | Library/Formula/patchutils.rb | 3 | ||||
| -rw-r--r-- | Library/Homebrew/test/fixtures/test.diff | 10 | 
2 files changed, 11 insertions, 2 deletions
| diff --git a/Library/Formula/patchutils.rb b/Library/Formula/patchutils.rb index 3d1ed1d02..8916fde1a 100644 --- a/Library/Formula/patchutils.rb +++ b/Library/Formula/patchutils.rb @@ -23,7 +23,6 @@ class Patchutils < Formula    end    test do -    assert_match /a\/libexec\/NOOP/, -          shell_output("#{bin}/lsdiff #{HOMEBREW_LIBRARY.join("Homebrew", "test", "patches", "noop-a.diff")}") +    assert_match /a\/libexec\/NOOP/, shell_output("#{bin}/lsdiff #{test_fixtures("test.diff")}")    end  end diff --git a/Library/Homebrew/test/fixtures/test.diff b/Library/Homebrew/test/fixtures/test.diff new file mode 100644 index 000000000..7b57f8fc9 --- /dev/null +++ b/Library/Homebrew/test/fixtures/test.diff @@ -0,0 +1,10 @@ +diff --git a/libexec/NOOP b/libexec/NOOP +index bfdda4c..e08d8f4 100755 +--- a/libexec/NOOP ++++ b/libexec/NOOP +@@ -1,2 +1,2 @@ + #!/bin/bash +-echo NOOP +\ No newline at end of file ++echo ABCD +\ No newline at end of file | 
