diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-25 01:52:49 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-25 01:52:49 +0900 |
| commit | 5c4058d5ac7e7944973ca8216c258fc50c194e22 (patch) | |
| tree | c06597903233c75eca5a1edae8b06d93f0f81774 /internal/state | |
| parent | e732dca7629edb503df0c65df5f37a99600d567d (diff) | |
app: run in native sandbox
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/state')
| -rw-r--r-- | internal/state/state_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/state/state_test.go b/internal/state/state_test.go index ee2a88cc..22fd3cd6 100644 --- a/internal/state/state_test.go +++ b/internal/state/state_test.go @@ -96,7 +96,7 @@ func testStore(t *testing.T, s state.Store) { } else { slices.Sort(aids) want := []int{0, 1} - if slices.Compare(aids, want) != 0 { + if !slices.Equal(aids, want) { t.Fatalf("List() = %#v, want %#v", aids, want) } } |
