mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-12 13:49:19 +00:00
Merge 2f30da890dbd9302e5ec25892ef9bdbeb380cf9c into 97e3c419aaae6d368bdab69035c44ddf6da43633
This commit is contained in:
commit
3552777e67
@ -33,7 +33,7 @@ mod tests {
|
|||||||
let some_software = SomeSoftware {};
|
let some_software = SomeSoftware {};
|
||||||
let other_software = OtherSoftware {};
|
let other_software = OtherSoftware {};
|
||||||
|
|
||||||
assert!(compare_license_types(some_software, other_software));
|
assert!(compare_license_types(&some_software, &other_software));
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
@ -41,6 +41,6 @@ mod tests {
|
|||||||
let some_software = SomeSoftware {};
|
let some_software = SomeSoftware {};
|
||||||
let other_software = OtherSoftware {};
|
let other_software = OtherSoftware {};
|
||||||
|
|
||||||
assert!(compare_license_types(other_software, some_software));
|
assert!(compare_license_types(&other_software, &some_software));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user