Skip to content

Commit

Permalink
better test description
Browse files Browse the repository at this point in the history
  • Loading branch information
yanns committed Feb 28, 2019
1 parent 9ba5502 commit 04d14ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion json/src/test/scala/io/sphere/json/OptionReaderSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class OptionReaderSpec extends WordSpec with MustMatchers with OptionValues {
result mustEqual None
}

"do not ignore fields if no one is expected" in {
"consider all fields if the data type does not impose any restriction" in {
val json =
"""{
| "key1": "value1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class OptionMongoFormatSpec extends WordSpec with MustMatchers with OptionValues
result mustEqual None
}

"do not ignore fields if no one is expected" in {
"consider all fields if the data type does not impose any restriction" in {
val dbo = dbObj(
"key1" -> "value1",
"key2" -> "value2"
Expand Down

0 comments on commit 04d14ce

Please sign in to comment.