From 86b1ea887c416cba0f1a07bb2328145a062bb690 Mon Sep 17 00:00:00 2001 From: Dan Sosedoff Date: Sun, 18 Oct 2020 10:18:03 -0500 Subject: [PATCH] Adjust error message matching for dump spec --- pkg/client/dump_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/client/dump_test.go b/pkg/client/dump_test.go index 413a068..61c5171 100644 --- a/pkg/client/dump_test.go +++ b/pkg/client/dump_test.go @@ -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{}