Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Fix a compiler warning for toLowerCase (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
cortinico authored Oct 18, 2021
1 parent 47ec47b commit a40dae6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ object DetektKotlinCompilerPluginTest: Spek({
val file2 = javaClass.classLoader.getResource("DetektKotlinCompilerPluginTest/hello2.kt")
val fileCollection = project.files(file1, file2)

val expectedDigest = if ("win" in System.getProperty("os.name").toLowerCase(Locale.ROOT)) {
val expectedDigest = if ("win" in System.getProperty("os.name").lowercase(Locale.ROOT)) {
"4NwcqDfQOdBVnJx6wqUnyL+9Zr4ClzGz1nSlRKaz23Q="
} else {
"Jm9xCn/w7YEc0RCR2iD6gUbr7BNxejj3Tvp871W/JEY="
Expand Down

0 comments on commit a40dae6

Please sign in to comment.