Skip to content

Commit

Permalink
Remove .only
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Podsiadlo committed Jan 7, 2022
1 parent 8e92c51 commit 7d79cef
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,14 +329,14 @@ class DecoderSuite extends munit.FunSuite:
assertEquals(yaml.as[Any], Right(expected))
}

test("option".only) {
test("option") {
case class Foo(int: Int, string: String) derives YamlCodec

val foo =
"""|- int: 1
| string: "1"
|- !!null
|""".stripMargin.as[List[Option[Foo]]]
| string: "1"
|- !!null
|""".stripMargin.as[List[Option[Foo]]]

assertEquals(foo, Right(List(Some(Foo(1, "1")), None)))
}

0 comments on commit 7d79cef

Please # to comment.