-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
The should_insert_special_entities_with_custom_end_line unit fails under windows because the embedded
"\n" doesn't match the, converted by checkout, value in the test data
diff --git a/core/src/test/java/org/jboss/arquillian/persistence/script/ScriptExecutorTest.java b/core/src/test/java/org/jboss/arquillian/persistence/script/ScriptExecutorTest.java
index f1bf7dd..a34c07e 100644
--- a/core/src/test/java/org/jboss/arquillian/persistence/script/ScriptExecutorTest.java
+++ b/core/src/test/java/org/jboss/arquillian/persistence/script/ScriptExecutorTest.java
@@ -271,7 +272,7 @@
verify(connection.createStatement(), times(1)).execute(statementsCaptor.capture());
assertThat(statementsCaptor.getAllValues()).containsSequence(
"insert into useraccount (id, firstname, lastname, username, password)" +
- " values (1, 'John', 'Smith & Company', 'doovde;;', '&test©')\nGO"
+ " values (1, 'John', 'Smith & Company', 'doovde;;', '&test©')" + System.lineSeparator() + "GO"
);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels