Skip to content

Commit 2552602

Browse files
committed
Update next-test to print remaining todo tests
Shows the next test to work on followed by a list of all remaining todo tests sorted by query file size.
1 parent 0b52803 commit 2552602

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

cmd/next-test/main.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,12 @@ func main() {
7171
})
7272

7373
next := todoTests[0]
74-
fmt.Printf("%s (%d bytes)\n", next.Name, next.QueryLen)
74+
fmt.Printf("Next: %s (%d bytes)\n", next.Name, next.QueryLen)
75+
76+
if len(todoTests) > 1 {
77+
fmt.Printf("\nRemaining todo tests (%d):\n", len(todoTests)-1)
78+
for _, t := range todoTests[1:] {
79+
fmt.Printf(" %s (%d bytes)\n", t.Name, t.QueryLen)
80+
}
81+
}
7582
}

0 commit comments

Comments
 (0)