From efc36dec89b8d63e65135e806e4408c8098641a1 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 6 Aug 2023 19:13:32 +0200 Subject: [PATCH] fix --- tests/schema_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/schema_test.go b/tests/schema_test.go index c3d992fe..db9f9e8f 100644 --- a/tests/schema_test.go +++ b/tests/schema_test.go @@ -702,7 +702,7 @@ func TestSyncWithOptions(t *testing.T) { result, err = testEngine.SyncWithOptions(xorm.SyncOptions{IgnoreConstrains: true}, &SyncWithOpts2{}) assert.NoError(t, err) assert.NotNil(t, result) - indices = getIndicesOfBeanFromDB(t, &SyncWithOpts1{}) + indices := getIndicesOfBeanFromDB(t, &SyncWithOpts1{}) assert.Len(t, indices, 2) assert.ElementsMatch(t, []string{"ttt", "index"}, getKeysFromMap(indices))