1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-19 08:52:15 +01:00

Fixed CommandLineTest.testCommandLineVersion

This commit is contained in:
Cristian Maglie 2018-11-16 12:34:04 +01:00
parent ff952fc053
commit 3e9a3ec743

View File

@ -142,7 +142,7 @@ public class CommandLineTest {
.as("Process will finish with exit code 0 in --version")
.isEqualTo(0);
Assertions.assertThat(new String(IOUtils.toByteArray(pr.getInputStream())))
.matches("Arduino: \\d+\\.\\d+\\.\\d+.*");
.matches("Arduino: \\d+\\.\\d+\\.\\d+.*\n");
}
@Test