From 8578aae671d0a14f289c0965d06f91508203c1af Mon Sep 17 00:00:00 2001 From: "Matthieu C." <886074+teto@users.noreply.github.com> Date: Mon, 24 Mar 2025 03:29:20 +0100 Subject: [PATCH] fxed with binds --- .../neomutt/neomutt-with-binds-expected.conf | 12 +++--------- .../modules/programs/neomutt/neomutt-with-binds.nix | 4 ++-- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/tests/modules/programs/neomutt/neomutt-with-binds-expected.conf b/tests/modules/programs/neomutt/neomutt-with-binds-expected.conf index 05736749f..8c25c3b09 100644 --- a/tests/modules/programs/neomutt/neomutt-with-binds-expected.conf +++ b/tests/modules/programs/neomutt/neomutt-with-binds-expected.conf @@ -4,13 +4,10 @@ set message_cachedir = "/home/hm-user/.cache/neomutt/messages/" set editor = "$EDITOR" set implicit_autoview = yes set crypt_use_gpgme = yes - alternative_order text/enriched text/plain text - set delete = yes - # Binds bind editor "complete-query" bind index,pager \Cp "sidebar-prev" @@ -18,19 +15,16 @@ bind index,pager \Cp "sidebar-prev" # Macros macro index s "?" macro index,pager c "?^K=" - # Register accounts -# register account hm@example.com + +## register account hm@example.com mailboxes "/home/hm-user/Mail/hm@example.com/Inbox" folder-hook /home/hm-user/Mail/hm@example.com/ " \ - source /home/hm-user/.config/neomutt/hm@example.com " - + source /home/hm-user/.config/neomutt/hm@example.com " # Source primary account source /home/hm-user/.config/neomutt/hm@example.com # Extra configuration - - diff --git a/tests/modules/programs/neomutt/neomutt-with-binds.nix b/tests/modules/programs/neomutt/neomutt-with-binds.nix index 7f97ae9e8..6fd8b8ff8 100644 --- a/tests/modules/programs/neomutt/neomutt-with-binds.nix +++ b/tests/modules/programs/neomutt/neomutt-with-binds.nix @@ -48,10 +48,10 @@ nmt.script = '' assertFileExists home-files/.config/neomutt/neomuttrc assertFileExists home-files/.config/neomutt/hm@example.com - assertFileContent home-files/.config/neomutt/neomuttrc ${ + assertFileContent $(normalizeStorePaths home-files/.config/neomutt/neomuttrc) ${ ./neomutt-with-binds-expected.conf } - assertFileContent home-files/.config/neomutt/hm@example.com ${ + assertFileContent $(normalizeStorePaths home-files/.config/neomutt/hm@example.com) ${ ./hm-example.com-expected } '';