1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-31 20:52:13 +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") .as("Process will finish with exit code 0 in --version")
.isEqualTo(0); .isEqualTo(0);
Assertions.assertThat(new String(IOUtils.toByteArray(pr.getInputStream()))) Assertions.assertThat(new String(IOUtils.toByteArray(pr.getInputStream())))
.matches("Arduino: \\d+\\.\\d+\\.\\d+.*"); .matches("Arduino: \\d+\\.\\d+\\.\\d+.*\n");
} }
@Test @Test