From ee8ff6d53fca9adec60238f63eb632300d0dffa0 Mon Sep 17 00:00:00 2001 From: RedEtherbloom Date: Wed, 6 Nov 2024 23:35:57 +0100 Subject: [PATCH] espanso: fix test for nixpkgs update Recent nixpkgs update made a small change how YAML is generated, causing the test YAML to be out of date. The replacement match is also an exact example from the espanso wiki https://espanso.org/docs/matches/basics/#multi-line-expansions. --- tests/modules/services/espanso/basic-matches.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/modules/services/espanso/basic-matches.yaml b/tests/modules/services/espanso/basic-matches.yaml index 3cf98c989..ba9f8ef84 100644 --- a/tests/modules/services/espanso/basic-matches.yaml +++ b/tests/modules/services/espanso/basic-matches.yaml @@ -10,9 +10,7 @@ global_vars: matches: - replace: It's {{currentdate}} {{currenttime}} trigger: :now -- replace: 'line1 - - line2' +- replace: "line1\nline2" trigger: :hello - regex: :hi(?P.*)\. replace: Hi {{person}}!