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.
This commit is contained in:
RedEtherbloom 2024-11-06 23:35:57 +01:00 committed by Robert Helgesson
parent 7e42a37bf7
commit ee8ff6d53f
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -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<person>.*)\.
replace: Hi {{person}}!