Skip to content

Commit

Permalink
Eliminated long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 23, 2025
1 parent 4b4663a commit 12857a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/kaleidoscope.Tests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ object Tests extends Suite(t"Kaleidoscope tests"):
. assert(_ == Some(List(t"bar", t"baz")))

test(t"Two captures, one repeating"):
Regex.parse(List(t"foo", t"(bar)", t"(baz)*")).matchGroups(t"foobarbazbaz").map(_.to(List))
Regex.parse(List(t"foo", t"(bar)", t"(baz)*")).matchGroups(t"foobarbazbaz")
. map(_.to(List))

. assert(_ == Some(List(t"bar", List(t"baz", t"baz"))))

Expand Down

0 comments on commit 12857a5

Please sign in to comment.