mirror of
https://github.com/apple/pkl.git
synced 2026-03-17 23:03:54 +01:00
Join concatenated String constants in test into single String (#814)
This commit is contained in:
@@ -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