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