diff --git a/Formula/e/energy.rb b/Formula/e/energy.rb index 9d79cb3a8e86..0d08ae27925d 100644 --- a/Formula/e/energy.rb +++ b/Formula/e/energy.rb @@ -26,7 +26,7 @@ def install end test do - assert_match version.to_s, shell_output("#{bin}/energy cli -v") + assert_match version.to_s, shell_output("#{bin}/energy cli") assert_match "https://energy.yanghy.cn", shell_output("#{bin}/energy env") end