Add a missing test for "Fix properties parsing for comment chars"
Closes gh-8699
This commit is contained in:
committed by
Stephane Nicoll
parent
8bfd42e3f1
commit
46a0aaac7a
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user