From 8d764cdf07dbf644dfbfd3a39e8c40de425299bb Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:04 +0100 Subject: [PATCH 01/22] aqbanking: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/aqbanking.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/aqbanking.rb b/Formula/aqbanking.rb index 5650358732a50..793208b7f4b36 100644 --- a/Formula/aqbanking.rb +++ b/Formula/aqbanking.rb @@ -65,8 +65,8 @@ def install EOS match = "110000000 000123456789 12.12.2022 -110.96 US44110000000000123456789 BYLADEM1001" - out = shell_output("#{bin}/aqbanking-cli -D .aqbanking listbal "\ - "-T '$(bankcode) $(accountnumber) $(dateAsString) "\ + out = shell_output("#{bin}/aqbanking-cli -D .aqbanking listbal " \ + "-T '$(bankcode) $(accountnumber) $(dateAsString) " \ "$(valueAsString) $(iban) $(bic)' < #{context}") assert_match match, out.gsub(/\s+/, " ") end From c59ef521db4b677e8e50cdb8543669432038e1f3 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:05 +0100 Subject: [PATCH 02/22] aws-sso-util: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/aws-sso-util.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/aws-sso-util.rb b/Formula/aws-sso-util.rb index 05aa3c7cbd196..2a446da978901 100644 --- a/Formula/aws-sso-util.rb +++ b/Formula/aws-sso-util.rb @@ -115,10 +115,10 @@ def install end test do - cmd = "#{bin}/aws-sso-util configure profile invalid"\ - " --sso-start-url https://example.com/start --sso-region eu-west-1" \ - " --account-id 000000000000 --role-name InvalidRole" \ - " --region eu-west-1 --non-interactive" + cmd = "#{bin}/aws-sso-util configure profile invalid " \ + "--sso-start-url https://example.com/start --sso-region eu-west-1 " \ + "--account-id 000000000000 --role-name InvalidRole " \ + "--region eu-west-1 --non-interactive" assert_empty shell_output "AWS_CONFIG_FILE=#{testpath}/config #{cmd}" From 0bfa51e7ec8ac9cbb22bad03d5d320cbd2c275fa Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:05 +0100 Subject: [PATCH 03/22] chart-testing: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/chart-testing.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/chart-testing.rb b/Formula/chart-testing.rb index 54ca898cf8908..cf65daf38b4f3 100644 --- a/Formula/chart-testing.rb +++ b/Formula/chart-testing.rb @@ -39,8 +39,8 @@ def install # Lint an empty Helm chart that we create with `helm create` system "helm", "create", "testchart" - output = shell_output("#{bin}/ct lint --charts ./testchart --validate-chart-schema=false" \ - " --validate-maintainers=false").lines.last.chomp + output = shell_output("#{bin}/ct lint --charts ./testchart --validate-chart-schema=false " \ + "--validate-maintainers=false").lines.last.chomp assert_match "All charts linted successfully", output end end From 60491ca2fa355d7003646717ebba544e2bccdd61 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:06 +0100 Subject: [PATCH 04/22] couchdb: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/couchdb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/couchdb.rb b/Formula/couchdb.rb index 1c95b326d4a39..f13f1d9538e29 100644 --- a/Formula/couchdb.rb +++ b/Formula/couchdb.rb @@ -55,7 +55,7 @@ def install # setting new database dir inreplace "rel/couchdb/etc/default.ini", "./data", "#{var}/couchdb/data" # remove windows startup script - File.delete("rel/couchdb/bin/couchdb.cmd") if File.exist?("rel/couchdb/bin/couchdb.cmd") + rm_rf("rel/couchdb/bin/couchdb.cmd") # install files prefix.install Dir["rel/couchdb/*"] if File.exist?(prefix/"Library/LaunchDaemons/org.apache.couchdb.plist") From 831d27009888a7d2e16adda85d1a5259b0037aa0 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:06 +0100 Subject: [PATCH 05/22] emojify: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/emojify.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/emojify.rb b/Formula/emojify.rb index 0d32db0c4dda1..4e2b7a17f3ebb 100644 --- a/Formula/emojify.rb +++ b/Formula/emojify.rb @@ -15,7 +15,7 @@ def install end test do - input = "Hey, I just :raising_hand: you, and this is :scream: , but here's my :calling: , "\ + input = "Hey, I just :raising_hand: you, and this is :scream: , but here's my :calling: , " \ "so :telephone_receiver: me, maybe?" assert_equal "Hey, I just 🙋 you, and this is 😱 , but here's my 📲 , so 📞 me, maybe?", shell_output("#{bin}/emojify \"#{input}\"").strip From e50f1b5b8119d28f10b75f7f9ccae4d59eb414dc Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:06 +0100 Subject: [PATCH 06/22] gspell: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/gspell.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/gspell.rb b/Formula/gspell.rb index 492d71331b6b3..f1ba908f7a20f 100644 --- a/Formula/gspell.rb +++ b/Formula/gspell.rb @@ -129,7 +129,7 @@ def install $(BUILT_SOURCES) libgspell_core_la_LIBADD = \ -+ $(GTK_MAC_LIBS) \ ++ $(GTK_MAC_LIBS) \ $(CODE_COVERAGE_LIBS) libgspell_core_la_CFLAGS = \ From 43d463751173740711cfb2064fc9b800e67ab74a Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:06 +0100 Subject: [PATCH 07/22] hashpump: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/hashpump.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/hashpump.rb b/Formula/hashpump.rb index 27610b7ad6e17..eab8c1823e770 100644 --- a/Formula/hashpump.rb +++ b/Formula/hashpump.rb @@ -40,8 +40,8 @@ def install end test do - output = `#{bin}/hashpump -s '6d5f807e23db210bc254a28be2d6759a0f5f5d99' \\ - -d 'count=10&lat=37.351&user_id=1&long=-119.827&waffle=eggo' \\ + output = `#{bin}/hashpump -s '6d5f807e23db210bc254a28be2d6759a0f5f5d99' \ \ + -d 'count=10&lat=37.351&user_id=1&long=-119.827&waffle=eggo' \ \ -a '&waffle=liege' -k 14` assert_match "0e41270260895979317fff3898ab85668953aaa2", output assert_match "&waffle=liege", output From b8c21fbc0e875a6704810246ba101fb7c5c33547 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:06 +0100 Subject: [PATCH 08/22] jmxtrans: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/jmxtrans.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/jmxtrans.rb b/Formula/jmxtrans.rb index c2f77b6f628e8..74616962f7ffb 100644 --- a/Formula/jmxtrans.rb +++ b/Formula/jmxtrans.rb @@ -30,7 +30,7 @@ def install cd "jmxtrans" do # Point JAR_FILE into Cellar where we've installed the jar file - inreplace "jmxtrans.sh", "$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )/../lib\" "\ + inreplace "jmxtrans.sh", "$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )/../lib\" " \ ">/dev/null && pwd )/jmxtrans-all.jar", libexec/"target/jmxtrans-#{version}-all.jar" From eb90f31ca66b030be471bc7ed0853c296910c52a Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:07 +0100 Subject: [PATCH 09/22] libexosip: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/libexosip.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/libexosip.rb b/Formula/libexosip.rb index a80654f2a8095..ed8adbf43557e 100644 --- a/Formula/libexosip.rb +++ b/Formula/libexosip.rb @@ -30,7 +30,7 @@ def install # https://growingshoot.blogspot.com/2013/02/manually-install-osip-and-exosip-as.html # Upstream bug ticket: https://savannah.nongnu.org/bugs/index.php?45079 if OS.mac? - ENV.append "LDFLAGS", "-framework CoreFoundation -framework CoreServices "\ + ENV.append "LDFLAGS", "-framework CoreFoundation -framework CoreServices " \ "-framework Security" end system "./configure", "--disable-debug", "--disable-dependency-tracking", From 0f45555c41cc37fa6ca6711acbe7db215ffd598c Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:07 +0100 Subject: [PATCH 10/22] liquigraph: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/liquigraph.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Formula/liquigraph.rb b/Formula/liquigraph.rb index 019cb40f67f01..12ad0d142d045 100644 --- a/Formula/liquigraph.rb +++ b/Formula/liquigraph.rb @@ -45,9 +45,9 @@ def install EOS jdbc = "jdbc:neo4j:http://#{failing_hostname}:7474/" - output = shell_output("#{bin}/liquigraph "\ - "dry-run -d #{testpath} "\ - "--changelog #{changelog.realpath} "\ + output = shell_output("#{bin}/liquigraph " \ + "dry-run -d #{testpath} " \ + "--changelog #{changelog.realpath} " \ "--graph-db-uri #{jdbc} 2>&1", 1) assert_match "Exception: #{failing_hostname}", output end From 645d60489635b2b47644e7370cdb3d807f7a4de1 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:07 +0100 Subject: [PATCH 11/22] parliament: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/parliament.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/parliament.rb b/Formula/parliament.rb index 4ce2abae60c28..66e9107dc78b1 100644 --- a/Formula/parliament.rb +++ b/Formula/parliament.rb @@ -70,9 +70,9 @@ def install end test do - assert_equal "MEDIUM - No resources match for the given action - - [{'action': 's3:GetObject',"\ - " 'required_format': 'arn:*:s3:::*/*'}] - {'line': 1, 'column': 40, 'filepath': None}", \ - pipe_output("#{bin}/parliament --string \'{\"Version\": \"2012-10-17\", \"Statement\": {\"Effect\": \"Allow\","\ - " \"Action\": \"s3:GetObject\", \"Resource\": \"arn:aws:s3:::secretbucket\"}}\'").strip + assert_equal "MEDIUM - No resources match for the given action - - [{'action': 's3:GetObject', " \ + "'required_format': 'arn:*:s3:::*/*'}] - {'line': 1, 'column': 40, 'filepath': None}", \ + pipe_output("#{bin}/parliament --string \'{\"Version\": \"2012-10-17\", \"Statement\": {\"Effect\": \"Allow\", " \ + "\"Action\": \"s3:GetObject\", \"Resource\": \"arn:aws:s3:::secretbucket\"}}\'").strip end end From e4fcb49314c79913401a4447d1a3b59fb9c5c0b7 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:07 +0100 Subject: [PATCH 12/22] php: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/php.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/php.rb b/Formula/php.rb index 8d0bd8ab68de8..fc4dfc7814f6a 100644 --- a/Formula/php.rb +++ b/Formula/php.rb @@ -87,8 +87,8 @@ def install # possible to recompile as suggested in the original message inreplace "sapi/apache2handler/sapi_apache2.c", "You need to recompile PHP.", - "Homebrew PHP does not support a thread-safe php binary. "\ - "To use the PHP apache sapi please change "\ + "Homebrew PHP does not support a thread-safe php binary. " \ + "To use the PHP apache sapi please change " \ "your httpd config to use the prefork MPM" inreplace "sapi/fpm/php-fpm.conf.in", ";daemonize = yes", "daemonize = no" From 3c3dcc7f61e108bc8e5ffceec213af7bb89aba60 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:08 +0100 Subject: [PATCH 13/22] php@7.2: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/php@7.2.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/php@7.2.rb b/Formula/php@7.2.rb index 2f58b2dc58ae4..54675b0220bfc 100644 --- a/Formula/php@7.2.rb +++ b/Formula/php@7.2.rb @@ -97,8 +97,8 @@ def install # possible to recompile as suggested in the original message inreplace "sapi/apache2handler/sapi_apache2.c", "You need to recompile PHP.", - "Homebrew PHP does not support a thread-safe php binary. "\ - "To use the PHP apache sapi please change "\ + "Homebrew PHP does not support a thread-safe php binary. " \ + "To use the PHP apache sapi please change " \ "your httpd config to use the prefork MPM" inreplace "sapi/fpm/php-fpm.conf.in", ";daemonize = yes", "daemonize = no" From f6f2151fd3f5aaa10b9d55d33aeda7b4da1680a4 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:08 +0100 Subject: [PATCH 14/22] php@7.3: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/php@7.3.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/php@7.3.rb b/Formula/php@7.3.rb index 8b4391f509a1f..b721a4b684b5c 100644 --- a/Formula/php@7.3.rb +++ b/Formula/php@7.3.rb @@ -81,8 +81,8 @@ def install # possible to recompile as suggested in the original message inreplace "sapi/apache2handler/sapi_apache2.c", "You need to recompile PHP.", - "Homebrew PHP does not support a thread-safe php binary. "\ - "To use the PHP apache sapi please change "\ + "Homebrew PHP does not support a thread-safe php binary. " \ + "To use the PHP apache sapi please change " \ "your httpd config to use the prefork MPM" inreplace "sapi/fpm/php-fpm.conf.in", ";daemonize = yes", "daemonize = no" From 948d08342532e15d4c1e7c5b7b6416078d61b1ce Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:08 +0100 Subject: [PATCH 15/22] php@7.4: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/php@7.4.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/php@7.4.rb b/Formula/php@7.4.rb index 98e00c47a0f72..5966556734fa3 100644 --- a/Formula/php@7.4.rb +++ b/Formula/php@7.4.rb @@ -88,8 +88,8 @@ def install # possible to recompile as suggested in the original message inreplace "sapi/apache2handler/sapi_apache2.c", "You need to recompile PHP.", - "Homebrew PHP does not support a thread-safe php binary. "\ - "To use the PHP apache sapi please change "\ + "Homebrew PHP does not support a thread-safe php binary. " \ + "To use the PHP apache sapi please change " \ "your httpd config to use the prefork MPM" inreplace "sapi/fpm/php-fpm.conf.in", ";daemonize = yes", "daemonize = no" From a6e2c69245c85aca2ec5bc1483fcfd92b7506211 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:08 +0100 Subject: [PATCH 16/22] php@8.0: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/php@8.0.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/php@8.0.rb b/Formula/php@8.0.rb index 8f8e6b7667603..748a4a0bb637f 100644 --- a/Formula/php@8.0.rb +++ b/Formula/php@8.0.rb @@ -88,8 +88,8 @@ def install # possible to recompile as suggested in the original message inreplace "sapi/apache2handler/sapi_apache2.c", "You need to recompile PHP.", - "Homebrew PHP does not support a thread-safe php binary. "\ - "To use the PHP apache sapi please change "\ + "Homebrew PHP does not support a thread-safe php binary. " \ + "To use the PHP apache sapi please change " \ "your httpd config to use the prefork MPM" inreplace "sapi/fpm/php-fpm.conf.in", ";daemonize = yes", "daemonize = no" From 941f72bf7c9c7cd98cf6654d4f04e16d05b088b6 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:09 +0100 Subject: [PATCH 17/22] sail: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/sail.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/sail.rb b/Formula/sail.rb index 0f02830933cc5..3bda4f7920701 100644 --- a/Formula/sail.rb +++ b/Formula/sail.rb @@ -151,7 +151,7 @@ def install test do xy = Language::Python.major_minor_version "#{libexec}/bin/python" - unittest = "#{libexec}/bin/python -m unittest discover "\ + unittest = "#{libexec}/bin/python -m unittest discover " \ "#{libexec}/lib/python#{xy}/site-packages/sail/tests 2>&1" assert_match(version.to_s, shell_output("#{bin}/sail --version")) From 69d0003532cd0a365915f8c3c3bdd624c753a99f Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:09 +0100 Subject: [PATCH 18/22] scry: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/scry.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/scry.rb b/Formula/scry.rb index a627965a31094..1440006786b7a 100644 --- a/Formula/scry.rb +++ b/Formula/scry.rb @@ -35,8 +35,8 @@ def rpc(json) "#{json}" end - input = rpc '{ "jsonrpc": "2.0", "id": 1, "method": "initialize", "params":' \ - ' { "processId": 1, "rootPath": "/dev/null", "capabilities": {}, "trace": "off" } }' + input = rpc '{ "jsonrpc": "2.0", "id": 1, "method": "initialize", "params": ' \ + '{ "processId": 1, "rootPath": "/dev/null", "capabilities": {}, "trace": "off" } }' input += rpc '{ "jsonrpc": "2.0", "method": "initialized", "params": {} }' input += rpc '{ "jsonrpc": "2.0", "id": 1, "method": "shutdown" }' assert_match(/"capabilities"\s*:\s*{/, pipe_output(bin/"scry", input, 0)) From bb5e0e196bff0cc5106e6f713146f7c23a1d4c5e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:09 +0100 Subject: [PATCH 19/22] step: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/step.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/step.rb b/Formula/step.rb index 46a6cf23d76c9..538eb7fbd74bf 100644 --- a/Formula/step.rb +++ b/Formula/step.rb @@ -80,7 +80,7 @@ def install # certificate using the API. (testpath/"password.txt").write("password") steppath = "#{testpath}/.step" - Dir.mkdir(steppath) unless File.exist?(steppath) + mkdir_p(steppath) ENV["STEPPATH"] = steppath system "#{bin}/step", "ca", "init", "--address", "127.0.0.1:8081", "--dns", "127.0.0.1", "--password-file", "#{testpath}/password.txt", From 1fdf65a9aab7388a54fd9c84486e7f5251630157 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:09 +0100 Subject: [PATCH 20/22] twoping: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/twoping.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/twoping.rb b/Formula/twoping.rb index 10881d3958e8e..842c91ea5c48a 100644 --- a/Formula/twoping.rb +++ b/Formula/twoping.rb @@ -34,7 +34,7 @@ def install test do assert_match "OK 2PING", shell_output( - "#{bin}/2ping --count=10 --interval=0.2 --port=-1 --interface-address=127.0.0.1 "\ + "#{bin}/2ping --count=10 --interval=0.2 --port=-1 --interface-address=127.0.0.1 " \ "--listen --nagios=1000,5%,1000,5% 127.0.0.1", ) end From 1c2663b2267c25b911dd69ac8431b117646a8cfc Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:10 +0100 Subject: [PATCH 21/22] vcluster: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/vcluster.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/vcluster.rb b/Formula/vcluster.rb index 7b91ef6b0aec7..1c76f8ad50cd9 100644 --- a/Formula/vcluster.rb +++ b/Formula/vcluster.rb @@ -36,10 +36,10 @@ def install help_output = "vcluster root command" assert_match help_output, shell_output("#{bin}/vcluster --help") - create_output = "there is an error loading your current kube config "\ - "(invalid configuration: no configuration has been provided, "\ - "try setting KUBERNETES_MASTER environment variable), "\ - "please make sure you have access to a kubernetes cluster and the command "\ + create_output = "there is an error loading your current kube config " \ + "(invalid configuration: no configuration has been provided, " \ + "try setting KUBERNETES_MASTER environment variable), " \ + "please make sure you have access to a kubernetes cluster and the command " \ "`kubectl get namespaces` is working" assert_match create_output, shell_output("#{bin}/vcluster create vcluster -n vcluster --create-namespace", 1) end From d52221d3b5f3d67b692c1153b32ed7655fca2166 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 28 Jun 2022 10:51:10 +0100 Subject: [PATCH 22/22] zbctl: brew style --fix For https://github.com/Homebrew/brew/pull/13477 --- Formula/zbctl.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Formula/zbctl.rb b/Formula/zbctl.rb index 93c144b5f2097..6974520d40c4a 100644 --- a/Formula/zbctl.rb +++ b/Formula/zbctl.rb @@ -34,9 +34,9 @@ def install test do # Check status for a nonexistent cluster status_error_message = - "Error: rpc error: code =" \ - " Unavailable desc = connection error:" \ - " desc = \"transport: Error while dialing dial tcp 127.0.0.1:26500: connect: connection refused\"" + "Error: rpc error: code = " \ + "Unavailable desc = connection error: " \ + "desc = \"transport: Error while dialing dial tcp 127.0.0.1:26500: connect: connection refused\"" output = shell_output("#{bin}/zbctl status 2>&1", 1) assert_match status_error_message, output # Check version