Skip to content

Commit 65d312c

Browse files
committed
Fix 03_ticket_v1/12_outro test
1 parent c437f75 commit 65d312c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exercises/03_ticket_v1/12_outro/tests/integration.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ fn test_order() {
99
let mut order = Order::new("Rusty Book".to_string(), 3, 2999);
1010

1111
assert_eq!(order.product_name(), "Rusty Book");
12-
assert_eq!(order.quantity(), &3);
13-
assert_eq!(order.unit_price(), &2999);
12+
assert_eq!(order.quantity(), 3);
13+
assert_eq!(order.unit_price(), 2999);
1414
assert_eq!(order.total(), 8997);
1515

1616
order.set_product_name("Rust Book".to_string());
1717
order.set_quantity(2);
1818
order.set_unit_price(3999);
1919

2020
assert_eq!(order.product_name(), "Rust Book");
21-
assert_eq!(order.quantity(), &2);
22-
assert_eq!(order.unit_price(), &3999);
21+
assert_eq!(order.quantity(), 2);
22+
assert_eq!(order.unit_price(), 3999);
2323
assert_eq!(order.total(), 7998);
2424
}
2525

0 commit comments

Comments
 (0)