Merge pull request #8699 from izeye:add-test-20170323
* pr/8699: Add a missing test for "Fix properties parsing for comment chars"
This commit is contained in:
@@ -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