mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 05:52:23 -05:00
Auto merge of #184 - Jesse-Cameron:master, r=komaeda
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
This commit is contained in:
commit
5e1d7c3076
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue