Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
fthomas committed Jan 5, 2025
1 parent 6ce1035 commit ad89d3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,11 @@ class VersionTest extends DisciplineSuite {
}

test("Component: round-trip") {
forAll { (str: String) => assertEquals(Component.render(Component.parse(str)), str) }
forAll((str: String) => assertEquals(Component.render(Component.parse(str)), str))
}

test("Component: round-trip using Version") {
forAll { (v: Version) => assertEquals(Component.render(Component.parse(v.value)), v.value) }
forAll((v: Version) => assertEquals(Component.render(Component.parse(v.value)), v.value))
}

test("Component: round-trip example") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class stringTest extends ScalaCheckSuite {
}

property("splitBetweenLowerAndUpperChars(s).mkString == s") {
forAll(Gen.asciiStr) { s: String =>
forAll(Gen.asciiStr) { (s: String) =>
assertEquals(string.splitBetweenLowerAndUpperChars(s).mkString, s)
}
}
Expand Down

0 comments on commit ad89d3b

Please sign in to comment.