From 2744556e93cb20e67a7a2f76b43266a296071be4 Mon Sep 17 00:00:00 2001 From: CreepySkeleton Date: Sat, 11 Apr 2020 06:25:55 +0300 Subject: [PATCH] Fix tests --- tests/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)