Skip to content

Commit

Permalink
Enforce sequence tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullin committed Dec 20, 2022
1 parent 49bc5d4 commit 30e95d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/seq.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ func nextSeq(msgs []proto.Message) string {

inc := func(s string) {
parsed := seqToInt(s)
//if parsed != id+1 {
// log.Panicln("Seq is not incrementing")
//}
if parsed != id+1 {
log.Panicln("Seq is not incrementing")
}
if parsed > id {
id = parsed
}
Expand Down

0 comments on commit 30e95d0

Please sign in to comment.