-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
Description
use English words in the Environment parser tests
Lines 16 to 30 in 7fa3007
| public void testOneLine() { | |
| EnvironmentParser ep = new EnvironmentParser(); | |
| ImmutableMap<String, String> result = ep.parse("ALMA=korte"); | |
| assertThat(result.containsKey("ALMA"), is(true)); | |
| assertThat(result.get("ALMA"), is(equalTo("korte"))); | |
| } | |
| @Test | |
| public void testTwoLine() { | |
| EnvironmentParser ep = new EnvironmentParser(); | |
| ImmutableMap<String, String> result = ep.parse("ALMA=korte\nBARACK=nemalma"); | |
| assertThat(result.containsKey("ALMA"), is(true)); | |
| assertThat(result.get("ALMA"), is(equalTo("korte"))); | |
| assertThat(result.containsKey("BARACK"), is(true)); | |
| assertThat(result.get("BARACK"), is(equalTo("nemalma"))); |