Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Sherman <[email protected]>
  • Loading branch information
bentsherman committed Dec 11, 2024
1 parent 3de3275 commit 69dfe54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ class ConfigBuilder {
binding.put('baseDir', base)
binding.put('projectDir', base)
binding.put('launchDir', Paths.get('.').toRealPath())
binding.put('outputDir', Paths.get('results').toRealPath())
binding.put('outputDir', Paths.get('results').complete())
binding.put('secrets', SecretsLoader.secretContext())
return binding
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ class ConfigBuilderTest extends Specification {
q = "$baseDir/2"
x = "$projectDir/3"
y = "$launchDir/4"
z = "$outputDir/5"
}
'''

Expand All @@ -158,6 +159,7 @@ class ConfigBuilderTest extends Specification {
cfg.params.q == '/base/path/2'
cfg.params.x == '/base/path/3'
cfg.params.y == "${Paths.get('.').toRealPath()}/4"
cfg.params.z == "${Paths.get('results').complete()}/5"

}

Expand Down

0 comments on commit 69dfe54

Please sign in to comment.