mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-14 10:23:02 +03:00
Merge pull request #494 from sosedoff/dump-test-error-adjust
Adjust error message matching for dump spec
This commit is contained in:
commit
e864b5f275
@ -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