Merge branch '2.1.x'
This commit is contained in:
@@ -275,6 +275,9 @@ public class Common {
|
||||
|
||||
public void assertThatSidesMatch(Object firstSide, Object secondSide) {
|
||||
if (firstSide instanceof OptionalProperty) {
|
||||
if (secondSide == null) {
|
||||
return;
|
||||
}
|
||||
assertThat(
|
||||
secondSide.toString()
|
||||
.matches(((OptionalProperty) firstSide).optionalPattern()),
|
||||
|
||||
Reference in New Issue
Block a user