-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop supporting case insensitive file names #237
Stop supporting case insensitive file names #237
Conversation
Filename case mismatch is no longer tolerated on case-sensitive filesystems. Fixes #231
@@ -41,43 +38,17 @@ public open class KotlinApiCompareTask @Inject constructor(private val objects: | |||
} | |||
val subject = projectName | |||
|
|||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hurray! )
@@ -90,7 +93,9 @@ internal class DefaultConfigTests : BaseKotlinGradleTest() { | |||
} | |||
|
|||
@Test | |||
fun `apiCheck should succeed when public classes match api file ignoring case`() { | |||
fun `apiCheck should fail when public classes match api file ignoring case`() { | |||
Assume.assumeTrue(underlyingFsIsCaseSensitive()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the tests run on different systems at once?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are running on Windows/Linux/MacOS from time to time, yes.
Filename case mismatch is no longer tolerated on case-sensitive filesystems. Fixes Kotlin/binary-compatibility-validator#231 Pull request Kotlin/binary-compatibility-validator#237
This PR fixes only behaviour, task's API will be cleaned up in #204.
Fixes #231