Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pityka committed Feb 10, 2024
1 parent fca17af commit 2bd91c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,14 @@ class DataBufferSpec extends Specification with ScalaCheck {
chars.toList must_== List(97, 44, 97, 0)
from.toList must_== List(0, 2, -1, 0, 0, 0)
to.toList must_== List(1, 3, 0, 0, 0, 0)
eol.toList must_== List(1, 1, 1, 1, 1, 1)
eol.toList must_== List(1,1,0,0,0,0)
len must_== 1
buffer.hasNext must_== false
val (chars2, from2, to2, len2, eol2) = buffer.emitRest
chars2.toList must_== List(97, 44, 97, 0)
from2.toList must_== List(2, 2, -1, 0, 0, 0)
to2.toList must_== List(3, 3, 0, 0, 0, 0)
eol2.toList must_== List(1, 1, 1, 1, 1, 1)
eol2.toList must_== List(1, 1, 0, 0, 0, 0)
len2 must_== 1

1 must_== 1
Expand Down

0 comments on commit 2bd91c0

Please sign in to comment.