test(locale): improve test using locale en_US.UTF-8

This commit is contained in:
Imran Iqbal
2019-05-31 00:28:42 +01:00
parent 10126fb740
commit 77960641dd
3 changed files with 19 additions and 20 deletions

View File

@@ -9,7 +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.*my_space/) }
# its(:stdout) { should match(/db2.*remoteUser.*UTF8.*en_US\.UTF-8.*en_US\.UTF-8.*my_space/) }
its(:stdout) { should match(/db2.*remoteUser.*UTF8.*en_US\.UTF-8.*en_US\.UTF-8.*my_space/) }
end
end