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"}
|
dump = Dump{Table: "foobar"}
|
||||||
err = dump.Export(url, saveFile)
|
err = dump.Export(url, saveFile)
|
||||||
assert.NotNil(t, err)
|
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
|
// Should drop "search_path" param from URI
|
||||||
dump = Dump{}
|
dump = Dump{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user