forked from rosa/hakurei
internal/rosa: fix GNU testsuite edge case
For segments with a single test. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -107,7 +107,7 @@ func skipGNUTests(tests ...int64) string {
|
||||
buf.WriteString(strconv.Itoa(int(n - 1)))
|
||||
buf.WriteString(" ")
|
||||
}
|
||||
if i == len(tests)-1 || tests[i+1] != n+1 {
|
||||
if i == len(tests)-1 || (tests[i+1] != n+1 && tests[i+1] != n+2) {
|
||||
buf.WriteString(strconv.Itoa(int(n + 1)))
|
||||
buf.WriteString("-")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user