test(locale): improve test using locale en_US.UTF-8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user