tester.validate(se).assertAll(AssertableDiagnostics.warningCode(IPPDiagnostics.ISSUE__MISSING_DEFAULT));
}
// -- undef
{
LiteralUndef slhs = pf.createLiteralUndef();
LiteralUndef entrylhs = pf.createLiteralUndef();
se.setLeftExpr(slhs);
entry.setLeftExpr(entrylhs);
entry.setRightExpr(pf.createLiteralBoolean());
tester.validate(se).assertAll(AssertableDiagnostics.warningCode(IPPDiagnostics.ISSUE__MISSING_DEFAULT));
}
// -- regex
{
LiteralRegex slhs = pf.createLiteralRegex();
slhs.setValue("/[a-z]*/");
LiteralRegex entrylhs = pf.createLiteralRegex();
entrylhs.setValue("/[a-z]*/");
se.setLeftExpr(slhs);
entry.setLeftExpr(entrylhs);
entry.setRightExpr(pf.createLiteralBoolean());