Phase 33 NORM canon test: enforce normalized dev route for P1/P2/JP mini

This commit is contained in:
nyash-codex
2025-12-11 20:54:33 +09:00
parent 59a985b7fa
commit af6f95cd4b
170 changed files with 4423 additions and 1897 deletions

View File

@ -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));