Skip to content

Commit

Permalink
Fix testbench refactor that removed the intended functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Grifs committed Jan 26, 2024
1 parent d077e27 commit bf191b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/scala/io/viash/helpers/IOTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ class IOTest extends AnyFunSuite with BeforeAndAfter {
assert(result == "[anonymized]/test.txt")
}

test("anonymizePath with a common path and a trailing slash") {
val basePath = Some(Paths.get("/foo/bar"))
test("anonymizePath with a common path with a trailing slash") {
val basePath = Some(Paths.get("/foo/bar/"))
val path = "/foo/bar/baz/test.txt"
val result = IO.anonymizePath(basePath, path)
assert(result == "baz/test.txt")
Expand Down

0 comments on commit bf191b2

Please sign in to comment.