diff --git a/tests/macros.rs b/tests/macros.rs index 38f32597a0a7..b1d6c41a1839 100755 --- a/tests/macros.rs +++ b/tests/macros.rs @@ -65,7 +65,7 @@ fn quoted_app_name() { (@arg scpositional: index(1) "tests positionals")) ); - assert_eq!(app.name, "app name with spaces-and-hyphens"); + assert_eq!(app.get_name(), "app name with spaces-and-hyphens"); let mut help_text = vec![]; app.write_help(&mut help_text)