fix(test1): Swap assertion parameter order

`Expected` should come before `actual`, other wise it leads to confusing compiler messages, e.g.
```
note: expected type `()`
         found type `{integer}`
```
This commit is contained in:
Pete McFarlane 2019-07-13 13:31:57 +01:00 committed by GitHub
parent b8368de6d5
commit 4086d463a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -16,6 +16,6 @@ fn verify_test() {
let price1 = calculate_price(55); let price1 = calculate_price(55);
let price2 = calculate_price(40); let price2 = calculate_price(40);
assert_eq!(price1, 55); assert_eq!(55, price1);
assert_eq!(price2, 80); assert_eq!(80, price2);
} }