Skip to content

Commit

Permalink
Add test for missing key and contains function
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimumCode committed Sep 2, 2024
1 parent 2a19d3e commit 01f8167
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class JsonWrapperTest : FunSpec() {
it.keys shouldContainExactly setOf("a", "b")
it["a"].shouldBeInstanceOf<JsonPrimitiveWrapper>()
it["b"].shouldBeInstanceOf<JsonArrayWrapper>()
it["c"].shouldBeNull()
("a" in it).shouldBeTrue()
("c" in it).shouldBeFalse()
}
}
}
Expand Down

0 comments on commit 01f8167

Please sign in to comment.