Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

test: improve TestVCS (#3159)

Yilong Li342ffbd66fb3
diff --git a/tests/schema_update_test.go b/tests/schema_update_test.go
index 23f8fadb4b..e6280262ea 100644
--- a/tests/schema_update_test.go
+++ b/tests/schema_update_test.go
@@ -593,11 +593,13 @@ func TestVCS(t *testing.T) {
Schema: history.Schema,
SchemaPrev: history.SchemaPrev,
}
- a.Equal(wantHistories[i], got)
+ a.Equalf(wantHistories[i], got, "got histories %v", histories)
a.NotEmpty(history.Version)
}
a.Equal("ver4", histories[0].Version)
a.Equal("ver3", histories[1].Version)
+ a.Equal("ver2", histories[2].Version)
+ a.Equal("ver1", histories[3].Version)
})
}
}