Skip to content

Commit

Permalink
2.6.2: fix early nims
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed May 28, 2021
1 parent 20d9c7b commit e3fbc64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion balls.nimble
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "2.6.1"
version = "2.6.2"
author = "disruptek"
description = "a unittest framework with balls 🔴🟡🟢"
license = "MIT"
Expand Down
6 changes: 5 additions & 1 deletion balls/runner.nim
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,11 @@ proc matrixTable*(matrix: Matrix): string =
# while the matrix has members,
while matrix.len > 0:
# reorder the remaining profiles by their display order
let profiles = toSeq(matrix.keys).sortedByIt(it.labels)
#let profiles = toSeq(matrix.keys).sortedByIt(it.labels)
# this is dumb for nim-1.[02] reasons
var profiles = toSeq matrix.keys
proc byLabels(a, b: auto): int = cmp(a, b)
profiles.sort(byLabels, Ascending)

# the first profile in that list is the best one to show next
var p = profiles[0]
Expand Down

0 comments on commit e3fbc64

Please sign in to comment.