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 015b4a517..3970b6e91 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 0302eefac..4ac7299a2 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' '';