We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bfd42e commit 46a0aaaCopy full SHA for 46a0aaa
spring-boot/src/test/java/org/springframework/boot/env/OriginTrackedPropertiesLoaderTests.java
@@ -111,6 +111,13 @@ public void getPropertyWithValueComment() throws Exception {
111
assertThat(getLocation(value)).isEqualTo("36:29");
112
}
113
114
+ @Test
115
+ public void getPropertyWithMultilineImmediateBang() {
116
+ OriginTrackedValue value = this.properties.get("test-multiline-immediate-bang");
117
+ assertThat(getValue(value)).isEqualTo("!foo");
118
+ assertThat(getLocation(value)).isEqualTo("39:1");
119
+ }
120
+
121
@Test
122
public void getPropertyWithCarriageReturn() throws Exception {
123
OriginTrackedValue value = this.properties.get("test-return-property");
0 commit comments