From 3db1c9a1345513d4ab0c89b4b7034b315ce6fb0b Mon Sep 17 00:00:00 2001 From: Patrick Jakubowski Date: Tue, 24 Sep 2024 15:50:22 -0700 Subject: [PATCH] Fix some tiny typos Signed-off-by: Patrick Jakubowski --- internal/eval/evalers_test.go | 2 +- types/entity_uid_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/eval/evalers_test.go b/internal/eval/evalers_test.go index 86c0b9f..6262940 100644 --- a/internal/eval/evalers_test.go +++ b/internal/eval/evalers_test.go @@ -1485,7 +1485,7 @@ func TestContainsAnyNode(t *testing.T) { t.Run("not quadratic", func(t *testing.T) { t.Parallel() - // Make two totally disjoint mapset to force a worst case search + // Make two totally disjoint sets to force a worst case search setSize := 200000 set1 := make([]types.Value, setSize) set2 := make([]types.Value, setSize) diff --git a/types/entity_uid_test.go b/types/entity_uid_test.go index 97b47ab..a8588e8 100644 --- a/types/entity_uid_test.go +++ b/types/entity_uid_test.go @@ -37,7 +37,7 @@ func TestEntityUIDSet(t *testing.T) { t.Run("new empty set", func(t *testing.T) { emptySets := []types.EntityUIDSet{ - types.EntityUIDSet{}, + {}, types.NewEntityUIDSet(), }