From e42dc5c467478ab3f381fcc8cdbbdec1e94e9ad9 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 9 Feb 2021 09:52:28 -0800 Subject: [PATCH] =?UTF-8?q?Turn=20the=20result=20info=20=E2=80=98t?= =?UTF-8?q?=E2=80=99=20or=20=E2=80=98nil=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/integration/oni-conf.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/oni-conf.bats b/test/integration/oni-conf.bats index aa1cc88..6deb0e8 100755 --- a/test/integration/oni-conf.bats +++ b/test/integration/oni-conf.bats @@ -13,7 +13,7 @@ @test "Opening a .service file enables conf-mode" { run emacs -batch -l package -f package-initialize \ -visit test.service \ - -eval "(prin1 (derived-mode-p major-mode 'conf-mode))" + -eval "(prin1 (not (null (derived-mode-p major-mode 'conf-mode))))" echo "$output"