aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorXu Cheng2015-07-21 22:14:04 +0800
committerXu Cheng2015-07-22 15:12:31 +0800
commit33befcf312e12496fc1a6b0df531f03d97dfe954 (patch)
tree0b057d1e18980f67ac10c43a44feaa296af726b3 /Library/Homebrew/test
parent60600c824cb07b36bc74b7a7f363069f8c29a8ca (diff)
downloadbrew-33befcf312e12496fc1a6b0df531f03d97dfe954.tar.bz2
tests: fix patching test for no-compat mode
Closes Homebrew/homebrew#41977. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_patching.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_patching.rb b/Library/Homebrew/test/test_patching.rb
index 0917316dd..02c73ef8e 100644
--- a/Library/Homebrew/test/test_patching.rb
+++ b/Library/Homebrew/test/test_patching.rb
@@ -106,7 +106,7 @@ class PatchingTests < Homebrew::TestCase
def test_patch_DATA_constant
assert_patched formula("test", Pathname.new(__FILE__).expand_path) {
def patches
- Formula::DATA
+ :DATA
end
}
end