From bb2b2549659e34d64870b1d8a5aeb041d4f166a6 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Sun, 4 Dec 2022 02:12:26 +0100 Subject: [PATCH] Fix output 2 --- go/localtests/test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/localtests/test.go b/go/localtests/test.go index 537abfa..0ddb70b 100644 --- a/go/localtests/test.go +++ b/go/localtests/test.go @@ -144,7 +144,7 @@ func (test *Test) Migrate(config Config, primary, replica *sql.DB) (err error) { } if err = cmd.Run(); err != nil { - if isExpectedFailureOutput(&stderr, test.ExpectedFailure) { + if isExpectedFailureOutput(&output, test.ExpectedFailure) { return nil } log.Printf("[%s] test failed", test.Name)