We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rubocop
1 parent 53d1ac5 commit 73c39afCopy full SHA for 73c39af
test/integration/default/controls/command_spec.rb
@@ -8,7 +8,7 @@
8
title 'should match desired lines'
9
10
# Can't use `%Q` here due to the `\`
11
- describe command("su - postgres -c 'psql -p" + pg_port + %q( -qtc "\l+ db2"')) do
+ describe command("su - postgres -c 'psql -p#{pg_port} -qtc \"\\l+ db2\"'") do
12
its(:stdout) do
13
should match(
14
/db2.*remoteUser.*UTF8.*en_US.UTF-8.*en_US.UTF-8.*my_space/
0 commit comments