diff options
| author | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-20 21:02:32 +0300 |
|---|---|---|
| committer | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-20 21:02:32 +0300 |
| commit | b6aabea328864b27a728240c2aa8794035a47243 (patch) | |
| tree | db6569980d2755a43e0300aca7cc785ecc109156 /internal/task/sort_test.go | |
| parent | bd44e7e81e9808c875340806eccefc043e27a8b7 (diff) | |
Change task sorting to prioritize priority
Diffstat (limited to 'internal/task/sort_test.go')
| -rw-r--r-- | internal/task/sort_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/task/sort_test.go b/internal/task/sort_test.go index 4b034c9..10c1a12 100644 --- a/internal/task/sort_test.go +++ b/internal/task/sort_test.go @@ -21,7 +21,7 @@ func TestSortTasks(t *testing.T) { for _, tsk := range tasks { ids = append(ids, tsk.ID) } - want := []int{1, 5, 6, 4, 2, 3} + want := []int{1, 5, 6, 2, 4, 3} if !reflect.DeepEqual(ids, want) { t.Fatalf("unexpected order: %v", ids) } |
