aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGravatar Tom Willemse2021-02-09 09:52:28 -0800
committerGravatar Tom Willemse2021-02-09 09:52:28 -0800
commite42dc5c467478ab3f381fcc8cdbbdec1e94e9ad9 (patch)
treecba78e745643712544b3a77190310d11bcf7ee19 /test
parentae1f9afe47ae75429aee13de139990f2e078e777 (diff)
downloademacs-config-e42dc5c467478ab3f381fcc8cdbbdec1e94e9ad9.tar.gz
emacs-config-e42dc5c467478ab3f381fcc8cdbbdec1e94e9ad9.zip
Turn the result info ‘t’ or ‘nil’
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/oni-conf.bats2
1 files changed, 1 insertions, 1 deletions
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"