diff --git a/src/var.rs b/src/var.rs index 492cd30..66784b8 100644 --- a/src/var.rs +++ b/src/var.rs @@ -714,8 +714,14 @@ fn test_normalize_varname() { assert_eq!(GameVars::normalize_varname("Clippy", "FOO"), "clippy$foo"); assert_eq!(GameVars::normalize_varname("Clippy", "$foo"), "clippy$foo"); assert_eq!(GameVars::normalize_varname("Clippy", "$$foo"), "$$foo"); - assert_eq!(GameVars::normalize_varname("Clippy", "PizzaClippy$foo"), "pizzaclippy$foo"); - assert_eq!(GameVars::normalize_varname("Clippy", "$foo$foo$foo$foo"), "$foo$foo$foo$foo"); + assert_eq!( + GameVars::normalize_varname("Clippy", "PizzaClippy$foo"), + "pizzaclippy$foo" + ); + assert_eq!( + GameVars::normalize_varname("Clippy", "$foo$foo$foo$foo"), + "$foo$foo$foo$foo" + ); } #[derive(Resource, Default)]