fix: test name typo
This commit is contained in:
parent
51c8da06b0
commit
a0699bd917
|
@ -57,7 +57,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn mult_box() {
|
fn mut_box() {
|
||||||
let mut num: Box<u32> = Box::new(3);
|
let mut num: Box<u32> = Box::new(3);
|
||||||
num_sq(&mut num);
|
num_sq(&mut num);
|
||||||
assert_eq!(*num, 9);
|
assert_eq!(*num, 9);
|
||||||
|
|
Loading…
Reference in New Issue