mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 19:21:46 +03:00
Adjust error message matching for dump spec
This commit is contained in:
parent
93d51c1feb
commit
86b1ea887c
@ -42,7 +42,7 @@ func testDumpExport(t *testing.T) {
|
||||
dump = Dump{Table: "foobar"}
|
||||
err = dump.Export(url, saveFile)
|
||||
assert.NotNil(t, err)
|
||||
assert.Contains(t, err.Error(), "pg_dump: no matching tables were found")
|
||||
assert.Contains(t, err.Error(), "no matching tables were found")
|
||||
|
||||
// Should drop "search_path" param from URI
|
||||
dump = Dump{}
|
||||
|
Loading…
Reference in New Issue
Block a user