Skip to content

Commit

Permalink
catch nil
Browse files Browse the repository at this point in the history
  • Loading branch information
drernie committed Sep 12, 2024
1 parent aaf28a3 commit 03f8fb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class QuiltObserverTest extends QuiltSpecification {
Path dest = Paths.get(root, path)
expect:
String relPath = observer.addOverlay(TEST_KEY, dest, source)
relPath == QuiltPackage.osConvert(result)
relPath == result ?: QuiltPackage.osConvert(result)
where:
root | path | result
TEST_KEY | SPEC_KEY | SPEC_KEY
Expand Down

0 comments on commit 03f8fb7

Please sign in to comment.