From 141b5c17782ce962a747af9b2c08bdcea7d2b00e Mon Sep 17 00:00:00 2001 From: John Guo Date: Mon, 8 Dec 2025 19:18:10 +0800 Subject: [PATCH] Update contrib/drivers/mssql/mssql_z_unit_basic_test.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- contrib/drivers/mssql/mssql_z_unit_basic_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/drivers/mssql/mssql_z_unit_basic_test.go b/contrib/drivers/mssql/mssql_z_unit_basic_test.go index 9933f751c..49635776d 100644 --- a/contrib/drivers/mssql/mssql_z_unit_basic_test.go +++ b/contrib/drivers/mssql/mssql_z_unit_basic_test.go @@ -148,7 +148,7 @@ func TestDoInsert(t *testing.T) { _, err := db.Save(context.Background(), "t_user", data, 10) gtest.AssertNE(err, nil) - // Replace should now work (it will auto-detect primary key) + // Replace should fail because primary key 'id' is not in the data _, err = db.Replace(context.Background(), "t_user", data, 10) gtest.AssertNE(err, nil) })