diff --git a/exposed-tests/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/ddl/DatabaseMigrationTests.kt b/exposed-tests/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/ddl/DatabaseMigrationTests.kt index a0fd642449..625d6221c8 100644 --- a/exposed-tests/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/ddl/DatabaseMigrationTests.kt +++ b/exposed-tests/src/test/kotlin/org/jetbrains/exposed/sql/tests/shared/ddl/DatabaseMigrationTests.kt @@ -57,7 +57,7 @@ class DatabaseMigrationTests : DatabaseTestsBase() { withTables(excludeSettings = listOf(TestDB.SQLITE), noPKTable) { val script = MigrationUtils.generateMigrationScript(singlePKTable, scriptDirectory = scriptDirectory, scriptName = scriptName, withLogs = false) assertTrue(script.exists()) - assertEquals("src/test/resources/$scriptName.sql", script.path) + assertEquals("src${File.separator}test${File.separator}resources${File.separator}$scriptName.sql", script.path) val expectedStatements: List = MigrationUtils.statementsRequiredForDatabaseMigration(singlePKTable, withLogs = false) assertEquals(1, expectedStatements.size)