From 7d7d20744e4b96a7f12f53ddcdd6736934cc43b0 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Sun, 18 Dec 2022 11:13:09 +0200 Subject: [PATCH] fixed test error message --- forms/record_upsert_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/record_upsert_test.go b/forms/record_upsert_test.go index bb8a5ac86..22056c866 100644 --- a/forms/record_upsert_test.go +++ b/forms/record_upsert_test.go @@ -382,7 +382,7 @@ func TestRecordUpsertDrySubmitWithNestedTx(t *testing.T) { t.Fatal(err) } if recordAfter.GetString("title") == "dry_test" { - t.Fatalf("Expected record.title to be %v, got %v", recordAfter.GetString("title"), "dry_test") + t.Fatalf("Expected record.title to be %v, got %v", recordBefore.GetString("title"), "dry_test") } return nil