File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
exercises/03_ticket_v1/12_outro/tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments