stdman: simpler test

Closes Homebrew/homebrew#41450.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Benjamin Kircher 2015-07-07 17:02:27 +02:00 committed by Mike McQuaid
parent dff92edf18
commit 88c23be2d3

View file

@ -10,6 +10,6 @@ class Stdman < Formula
end
test do
assert File.exist? shell_output("/usr/bin/man -w std::string").strip
system "man", "-w", "std::string"
end
end