From adbabcd0a04cdb78c8599ca33d115ee0320b3455 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Tue, 18 May 2021 00:47:15 +0200 Subject: [PATCH] gtk: fix gtk2-basic-config test --- tests/modules/misc/gtk/gtk-basic-config-expected.conf | 3 ++- tests/modules/misc/gtk/gtk2-basic-config.nix | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/modules/misc/gtk/gtk-basic-config-expected.conf b/tests/modules/misc/gtk/gtk-basic-config-expected.conf index 015b4a51..3970b6e9 100644 --- a/tests/modules/misc/gtk/gtk-basic-config-expected.conf +++ b/tests/modules/misc/gtk/gtk-basic-config-expected.conf @@ -1 +1,2 @@ -gtk-can-change-accels = 1 + +gtk-can-change-accels = 1 \ No newline at end of file diff --git a/tests/modules/misc/gtk/gtk2-basic-config.nix b/tests/modules/misc/gtk/gtk2-basic-config.nix index 0302eefa..4ac7299a 100644 --- a/tests/modules/misc/gtk/gtk2-basic-config.nix +++ b/tests/modules/misc/gtk/gtk2-basic-config.nix @@ -11,9 +11,9 @@ with lib; nmt.script = '' assertFileExists home-files/.gtkrc-2.0 - assertFileContents home-files/.gtkrc-2.0 ${ + assertFileContent home-files/.gtkrc-2.0 ${ ./gtk-basic-config-expected.conf - } + } assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \ 'GTK2_RC_FILES=.*/.gtkrc-2.0' '';