Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for assert_fail (0.19 sec)

  1. build-logic/packaging/src/test/kotlin/gradlebuild/packaging/GradleDistributionInstallTest.kt

        }
    
        @Test
        fun `does not install to a file`() {
            val file = File(target, "some_file.txt").also {
                it.writeText("some content")
            }
            target = file
    
            assertFails("Install directory $file is not valid: it is actually a file")
            assertTrue(file.exists())
        }
    
        @Test
        fun `does not install to non-empty dir without lib`() {
            target.resolve("bin").apply {
    Plain Text
    - Registered: Wed Jan 24 11:36:10 GMT 2024
    - Last Modified: Sat Sep 30 16:17:26 GMT 2023
    - 7.4K bytes
    - Viewed (0)
Back to top