diff --git a/cli/tests/test_templater.rs b/cli/tests/test_templater.rs index 831715c43..490ebe371 100644 --- a/cli/tests/test_templater.rs +++ b/cli/tests/test_templater.rs @@ -717,7 +717,7 @@ fn test_templater_concat_function() { let render = |template| get_colored_template_output(&test_env, &repo_path, "@-", template); insta::assert_snapshot!(render(r#"concat()"#), @""); - insta::assert_snapshot!(render(r#"concat(author, empty)"#), @"(no name available) <(no email available)>true"); + insta::assert_snapshot!(render(r#"concat(hidden, empty)"#), @"falsetrue"); insta::assert_snapshot!( render(r#"concat(label("error", ""), label("warning", "a"), "b")"#), @"ab"); @@ -767,11 +767,11 @@ fn test_templater_separate_function() { // Separate keywords insta::assert_snapshot!( - render(r#"separate(" ", author, description, empty)"#), @"(no name available) <(no email available)> true"); + render(r#"separate(" ", hidden, description, empty)"#), @"false true"); // Keyword as separator insta::assert_snapshot!( - render(r#"separate(author, "X", "Y", "Z")"#), @"X(no name available) <(no email available)>Y(no name available) <(no email available)>Z"); + render(r#"separate(hidden, "X", "Y", "Z")"#), @"XfalseYfalseZ"); } #[test]