From 0f0d1aa1a90a8e8d3df0f1cb7f34d1e8b1d4ee2d Mon Sep 17 00:00:00 2001 From: yuni Date: Thu, 13 Jun 2024 00:39:05 +0200 Subject: [PATCH] cleanup --- src/var.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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)]