1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-30 22:21:02 +01:00

tests/emacs: reorganize darwin and linux

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-06-22 21:36:20 -05:00
parent e9bde7692e
commit c283a23ef6
21 changed files with 14 additions and 15 deletions

View file

@ -0,0 +1,18 @@
set +u
source $TESTED/home-path/etc/profile.d/hm-session-vars.sh
set -u
check_arguments () {
if [ "$1" != "$2" ]; then
@coreutils@/bin/cat <<- EOF
Expected arguments:
$1
but got:
$2
EOF
exit 1
fi
}
check_arguments "--create-frame" "$($EDITOR)"
check_arguments "foo bar baz" "$($EDITOR foo bar baz)"