v8: add test
Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
7a5065e3f0
commit
a736fc86ce
1 changed files with 4 additions and 0 deletions
|
@ -64,4 +64,8 @@ class V8 < Formula
|
|||
bin.install "d8", "mksnapshot", "process", "shell" => "v8"
|
||||
end
|
||||
end
|
||||
|
||||
test do
|
||||
assert_equal "Hello World!", pipe_output("#{bin}/v8 -e 'print(\"Hello World!\")'").chomp
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue