mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03: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
|
@ -13,8 +13,8 @@
|
||||||
// Don't modify this function!
|
// Don't modify this function!
|
||||||
#[test]
|
#[test]
|
||||||
fn verify_test() {
|
fn verify_test() {
|
||||||
let price1 = calculateprice(55);
|
let price1 = calculate_price(55);
|
||||||
let price2 = calculateprice(40);
|
let price2 = calculate_price(40);
|
||||||
|
|
||||||
assert_eq!(price1, 55);
|
assert_eq!(price1, 55);
|
||||||
assert_eq!(price2, 80);
|
assert_eq!(price2, 80);
|
||||||
|
|
Loading…
Reference in a new issue