Skip to content

Commit

Permalink
test(ort-utils): Use function names for test containers
Browse files Browse the repository at this point in the history
Use the function names instead of a description for consistency with
other tests.

Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.com>
  • Loading branch information
mnonnenmacher authored and sschuberth committed Sep 3, 2024
1 parent b68e3b9 commit af56607
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class LocalFileStorageFunTest : WordSpec({
}
}

"Reading a file" should {
"read()" should {
"succeed if the file exists" {
storage { storage, directory ->
val file = directory.resolve("existing-file")
Expand Down Expand Up @@ -98,7 +98,7 @@ class LocalFileStorageFunTest : WordSpec({
}
}

"Writing a file" should {
"write()" should {
"succeed if the file does not exist" {
storage { storage, directory ->
storage.write("target/file", "content".byteInputStream())
Expand Down

0 comments on commit af56607

Please sign in to comment.