fix(traits): Naming conventions

This commit is contained in:
zhangshaozhi 2021-09-29 10:21:03 +08:00 committed by zhangshaozhi
parent df25684cb7
commit 1bcbb4ea2f

View File

@ -29,12 +29,12 @@ mod tests {
use super::*;
#[test]
fn is_FooBar() {
fn is_foo_bar() {
assert_eq!(String::from("Foo").append_bar(), String::from("FooBar"));
}
#[test]
fn is_BarBar() {
fn is_bar_bar() {
assert_eq!(
String::from("").append_bar().append_bar(),
String::from("BarBar")