Phase 33 NORM canon test: enforce normalized dev route for P1/P2/JP mini
This commit is contained in:
@ -251,9 +251,7 @@ mod tests {
|
||||
span: Span::unknown(),
|
||||
};
|
||||
|
||||
assert!(BreakConditionAnalyzer::has_break_in_else_clause(&[
|
||||
if_stmt
|
||||
]));
|
||||
assert!(BreakConditionAnalyzer::has_break_in_else_clause(&[if_stmt]));
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -448,9 +446,7 @@ mod tests {
|
||||
|
||||
// Should be wrapped in UnaryOp::Not
|
||||
if let ASTNode::UnaryOp {
|
||||
operator,
|
||||
operand,
|
||||
..
|
||||
operator, operand, ..
|
||||
} = negated
|
||||
{
|
||||
assert!(matches!(operator, UnaryOperator::Not));
|
||||
|
||||
Reference in New Issue
Block a user