From 9d707b955cbbceb1d3dcd83d559c03bfc3f5536e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 12 Jun 2017 16:44:49 +0100 Subject: [PATCH] psgrep: fix RuboCop warnings. --- Formula/psgrep.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/psgrep.rb b/Formula/psgrep.rb index a79611e175..3ac35c9c38 100644 --- a/Formula/psgrep.rb +++ b/Formula/psgrep.rb @@ -13,6 +13,6 @@ class Psgrep < Formula end test do - assert_match $0, shell_output("#{bin}/psgrep #{Process.pid}") + assert_match $PROGRAM_NAME, shell_output("#{bin}/psgrep #{Process.pid}") end end