Skip to content

Commit

Permalink
chore: fix for 'compileTestJava' task (current target is 18) and 'com…
Browse files Browse the repository at this point in the history
…pileTestKotlin' task (current target is 11) jvm target compatibility should be set to the same Java version
  • Loading branch information
uglyog committed Sep 26, 2022
1 parent 6f8a347 commit 205bbd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ subprojects {

java {
// modularity.inferModulePath = true
targetCompatibility = '11'
sourceCompatibility = '11'
}

compileTestGroovy {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class MultiCookieTest {

response.success { FromServer fs, Object body ->
assert fs.statusCode == 200
assert fs.headers.findAll { it.key == 'set-cookie' }*.value == [
assert fs.headers.findAll { it.key.toLowerCase() == 'set-cookie' }*.value == [
'someCookie=someValue; Path=/', 'someOtherCookie=someValue; Path=/', 'someThirdCookie=someValue; Path=/'
]
}
Expand Down

0 comments on commit 205bbd3

Please sign in to comment.