Skip to content

Commit

Permalink
gz-plugin2: clean up syntax in test, add comments
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters committed Sep 15, 2023
1 parent c8acc07 commit f278cd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Formula/gz-plugin2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ def install
end

test do
system "#{libexec}/gz/plugin2/gz-plugin"
# test CLI executable
system libexec/"gz/plugin2/gz-plugin"
# build against API
(testpath/"test.cpp").write <<-EOS
#include <gz/plugin/Loader.hh>
int main() {
Expand Down

0 comments on commit f278cd6

Please sign in to comment.