From ced4307b46db92d0aa2b459cc4d84edf81308fee Mon Sep 17 00:00:00 2001 From: Jared Ramirez Date: Thu, 26 Aug 2021 11:39:21 -0700 Subject: [PATCH] Fix can tests --- compiler/can/tests/test_can.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/can/tests/test_can.rs b/compiler/can/tests/test_can.rs index a937af1c45..51dd68b8ac 100644 --- a/compiler/can/tests/test_can.rs +++ b/compiler/can/tests/test_can.rs @@ -32,7 +32,7 @@ mod test_can { let actual_out = can_expr_with(&arena, test_home(), input); match actual_out.loc_expr.value { - Expr::Float(_, _, actual) => { + Expr::Float(_, _, _, actual) => { assert_eq!(expected, actual); } actual => { @@ -46,7 +46,7 @@ mod test_can { let actual_out = can_expr_with(&arena, test_home(), input); match actual_out.loc_expr.value { - Expr::Int(_, _, actual) => { + Expr::Int(_, _, _, actual) => { assert_eq!(expected, actual); } actual => { @@ -60,7 +60,7 @@ mod test_can { let actual_out = can_expr_with(&arena, test_home(), input); match actual_out.loc_expr.value { - Expr::Num(_, actual) => { + Expr::Num(_, _, actual) => { assert_eq!(expected, actual); } actual => {