Skip to content

Commit b2d0ebc

Browse files
committed
ARTEMIS-6116 Replace line endings for stderr
1 parent 1177ba5 commit b2d0ebc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

artemis-cli/src/test/java/org/apache/activemq/artemis/cli/commands/messages/ProducerThreadTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public void testBadMessagePropertyType() throws Exception {
225225
producer.setProperties(createJsonProperty("myType", "myKey", "myValue"));
226226
producer.applyProperties(mockMessage);
227227

228-
assertEquals("Unable to set property: myKey. Did not recognize type: myType. Supported types are: boolean, int, long, byte, short, float, double, string.\n", context.getStderr());
228+
assertEquals("Unable to set property: myKey. Did not recognize type: myType. Supported types are: boolean, int, long, byte, short, float, double, string.\n", context.getStderr().replace("\r\n", "\n"));
229229
}
230230

231231
private static String createJsonProperty(String type, String key, String value) {

0 commit comments

Comments
 (0)