Skip to content

Commit

Permalink
Auto merge of #184 - Jesse-Cameron:master, r=komaeda
Browse files Browse the repository at this point in the history
fix(test1): renamed function name to snake case

addressing a minor function naming convention, see: [RFC #430](https://doc.rust-lang.org/1.0.0/style/style/naming/README.html)

closes #180
  • Loading branch information
bors committed Jun 28, 2019
2 parents aaad60d + 89d5186 commit 5e1d7c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/test1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// Don't modify this function!
#[test]
fn verify_test() {
let price1 = calculateprice(55);
let price2 = calculateprice(40);
let price1 = calculate_price(55);
let price2 = calculate_price(40);

assert_eq!(price1, 55);
assert_eq!(price2, 80);
Expand Down

0 comments on commit 5e1d7c3

Please sign in to comment.