libev: make test work on linux too

master
Michka Popoff 2020-11-24 12:58:58 +01:00
parent ab80f01f01
commit 1dea4a94e6
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class Libev < Formula
return 0;
}
EOS
system ENV.cc, "-I#{include}", "-L#{lib}", "-lev", "-o", "test", "test.c"
system ENV.cc, "test.c", "-I#{include}", "-L#{lib}", "-lev", "-o", "test"
input = "hello, world\n"
assert_equal input, pipe_output("./test", input, 0)
end