From bf64f18ea70a44bf6d9eb7ceafb74756aea2cc9d Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Sat, 20 Jun 2026 20:41:07 +0200 Subject: bump gg to 0.10.0, use gg/assert --- runtimeindex_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtimeindex_test.go') diff --git a/runtimeindex_test.go b/runtimeindex_test.go index ea77560..59044c4 100644 --- a/runtimeindex_test.go +++ b/runtimeindex_test.go @@ -7,8 +7,8 @@ import ( "database/sql" "testing" + "go.xyrillian.de/gg/assert" "go.xyrillian.de/oblast" - "go.xyrillian.de/oblast/internal/testhelpers/assert" "go.xyrillian.de/oblast/internal/testhelpers/mock" "go.xyrillian.de/oblast/internal/testhelpers/must" ) @@ -43,7 +43,7 @@ func TestRuntimeIndex(t *testing.T) { // test success path commonSetup() result := must.Return(byName.IndexFrom(store.SelectWhere(ctx, db, `id > 0`)))(t) - assert.DeepEqual(t, result, map[string]basicRecord{ + assert.Equal(t, result, map[string]basicRecord{ "foo": {1, "foo"}, "bar": {2, "bar"}, "baz": {3, "baz"}, @@ -60,7 +60,7 @@ func TestRuntimeIndex(t *testing.T) { // test success path commonSetup() result := must.Return(byFirstLetter.PartitionFrom(store.SelectWhere(ctx, db, `id > 0`)))(t) - assert.DeepEqual(t, result, map[string][]basicRecord{ + assert.Equal(t, result, map[string][]basicRecord{ "f": {{1, "foo"}}, "b": {{2, "bar"}, {3, "baz"}}, }) -- cgit v1.3.1