mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00
test(command_spec): use cleaner match
string using %r
This commit is contained in:
parent
77960641dd
commit
a054cea962
1 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,6 @@ control 'Postgres command' do
|
|||
|
||||
# Can't use `%Q` here due to the `\`
|
||||
describe command(%q{su - postgres -c 'psql -p} + pg_port + %q{ -qtc "\l+ db2"'}) do
|
||||
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}) }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue