in junit-platform-launcher/src/main/java/org/junit/platform/launcher/tagexpression/Operator.java [119:132]
private String createMissingOperandMessage(Stack<TokenWith<TagExpression>> expressions, Token operatorToken) {
if (1 == arity) {
return missingOneOperand(associativity == Left ? "lhs" : "rhs");
}
if (2 == arity) {
int mismatch = arity - expressions.size();
if (2 == mismatch) {
return "missing lhs and rhs operand";
}
return missingOneOperand(operatorToken.isLeftOf(expressions.peek().token) ? "lhs" : "rhs");
}
return "missing operand";
}