Add a missing test for "Fix properties parsing for comment chars"

Closes gh-8699
This commit is contained in:
Johnny Lim
2017-03-23 10:45:32 +09:00
committed by Stephane Nicoll
parent 8bfd42e3f1
commit 46a0aaac7a

View File

@@ -111,6 +111,13 @@ public class OriginTrackedPropertiesLoaderTests {
assertThat(getLocation(value)).isEqualTo("36:29");
}
@Test
public void getPropertyWithMultilineImmediateBang() {
OriginTrackedValue value = this.properties.get("test-multiline-immediate-bang");
assertThat(getValue(value)).isEqualTo("!foo");
assertThat(getLocation(value)).isEqualTo("39:1");
}
@Test
public void getPropertyWithCarriageReturn() throws Exception {
OriginTrackedValue value = this.properties.get("test-return-property");