Join concatenated String constants in test into single String (#814)
This commit is contained in:
1 parent
16af6b7bcc
commit
09bc09d058
1 file changed
+2
-3
@@ -79,7 +79,7 @@ public class ConfigTest {
|
||||
assertThat(t)
|
||||
.isInstanceOf(NoSuchChildException.class)
|
||||
.hasMessageStartingWith(
|
||||
"Node `x` of type `pkl.base#Map` " + "does not have a key named `non-existing`.");
|
||||
"Node `x` of type `pkl.base#Map` does not have a key named `non-existing`.");
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -90,8 +90,7 @@ public class ConfigTest {
|
||||
assertThat(t)
|
||||
.isInstanceOf(NoSuchChildException.class)
|
||||
.hasMessageStartingWith(
|
||||
"Leaf node `pigeon.age` of type `pkl.base#Int` "
|
||||
+ "does not have a child named `non-existing`.");
|
||||
"Leaf node `pigeon.age` of type `pkl.base#Int` does not have a child named `non-existing`.");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in new issue
Block a user