From de76868cad88b9afe103a60331c1456a3f02e37e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Sun, 17 Jul 2022 20:22:25 +0900 Subject: [PATCH] fix(testing): Allow space in file names (#5237) --- crates/testing_macros/src/fixture.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/testing_macros/src/fixture.rs b/crates/testing_macros/src/fixture.rs index feb9f0f2400..24fe5960dd0 100644 --- a/crates/testing_macros/src/fixture.rs +++ b/crates/testing_macros/src/fixture.rs @@ -147,6 +147,7 @@ pub fn expand(callee: &Ident, attr: Config) -> Result, Error> { .replace('/', "__") .replace('.', "_") .replace('-', "_") + .replace(' ', "_") ) .replace("___", "__"); let test_ident = Ident::new(&test_name, Span::call_site());