mirror of
https://github.com/apple/pkl.git
synced 2026-04-24 09:18:35 +02: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)
|
assertThat(t)
|
||||||
.isInstanceOf(NoSuchChildException.class)
|
.isInstanceOf(NoSuchChildException.class)
|
||||||
.hasMessageStartingWith(
|
.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
|
@Test
|
||||||
@@ -90,8 +90,7 @@ public class ConfigTest {
|
|||||||
assertThat(t)
|
assertThat(t)
|
||||||
.isInstanceOf(NoSuchChildException.class)
|
.isInstanceOf(NoSuchChildException.class)
|
||||||
.hasMessageStartingWith(
|
.hasMessageStartingWith(
|
||||||
"Leaf node `pigeon.age` of type `pkl.base#Int` "
|
"Leaf node `pigeon.age` of type `pkl.base#Int` does not have a child named `non-existing`.");
|
||||||
+ "does not have a child named `non-existing`.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user