[TEST] Use operating system specific line ending

The line endings differ between operating systems and the existing test failed
on Windows systems. This change uses the OS specific line ending.

Closes elastic/elasticsearch#443

Original commit: elastic/x-pack-elasticsearch@a458472322
This commit is contained in:
jaymode 2014-12-08 08:59:10 -05:00
parent 9a932f8ae8
commit b55180f3f8
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ public class ESUsersToolTests extends CliToolTestCase {
assertThat(status, is(CliTool.ExitStatus.OK));
List<String> output = terminal.getTerminalOutput();
assertThat(output, hasSize(1));
assertThat(output.get(0), equalTo("No users found\n"));
assertThat(output.get(0), equalTo("No users found" + System.lineSeparator()));
}
@Test