Skip to content

Commit c6c36e6

Browse files
authored
Merge pull request Homebrew#183293 from gromgit/attr/fix-test
attr: fix test
2 parents f80b15b + 0e749b2 commit c6c36e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Formula/a/attr.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def install
2828

2929
test do
3030
(testpath/"test.txt").write("Hello World!\n")
31-
system bin/"attr", "-s", "name", "test.txt"
31+
pipe_output "#{bin}/attr -s name test.txt", ""
3232
assert_match 'Attribute "name" has a 0 byte value for test.txt',
3333
shell_output(bin/"attr -l test.txt")
3434
end

0 commit comments

Comments
 (0)