From 4b2bd5e1ca36a3b67d3194a4624cae7688d11f66 Mon Sep 17 00:00:00 2001 From: Oliver Azevedo Barnes Date: Fri, 11 Oct 2024 20:40:17 +0100 Subject: [PATCH] Fix typos in 03_ticket_v1/12_outro test --- exercises/03_ticket_v1/12_outro/tests/integration.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exercises/03_ticket_v1/12_outro/tests/integration.rs b/exercises/03_ticket_v1/12_outro/tests/integration.rs index 574dcafaf7..4427ecb41c 100644 --- a/exercises/03_ticket_v1/12_outro/tests/integration.rs +++ b/exercises/03_ticket_v1/12_outro/tests/integration.rs @@ -9,8 +9,8 @@ fn test_order() { let mut order = Order::new("Rusty Book".to_string(), 3, 2999); assert_eq!(order.product_name(), "Rusty Book"); - assert_eq!(order.quantity(), &3); - assert_eq!(order.unit_price(), &2999); + assert_eq!(order.quantity(), 3); + assert_eq!(order.unit_price(), 2999); assert_eq!(order.total(), 8997); order.set_product_name("Rust Book".to_string()); @@ -18,8 +18,8 @@ fn test_order() { order.set_unit_price(3999); assert_eq!(order.product_name(), "Rust Book"); - assert_eq!(order.quantity(), &2); - assert_eq!(order.unit_price(), &3999); + assert_eq!(order.quantity(), 2); + assert_eq!(order.unit_price(), 3999); assert_eq!(order.total(), 7998); }