eigen: style nit
Closes Homebrew/homebrew#47425. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
1444813b25
commit
face256585
1 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@ class Eigen < Formula
|
|||
|
||||
def install
|
||||
ENV.universal_binary if build.universal?
|
||||
|
||||
mkdir "eigen-build" do
|
||||
args = std_cmake_args
|
||||
args << "-Dpkg_config_libdir=#{lib}" << ".."
|
||||
|
@ -43,6 +44,6 @@ class Eigen < Formula
|
|||
}
|
||||
EOS
|
||||
system ENV.cxx, "test.cpp", "-I#{include}/eigen3", "-o", "test"
|
||||
assert_equal `./test`.split, %w[3 -1 2.5 1.5]
|
||||
assert_equal %w[3 -1 2.5 1.5], shell_output("./test").split
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue