From 378ef3d590a5227d238281f78b2521ad3dfb915a Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 7 Apr 2020 01:25:23 -0700 Subject: Move CSS tests to bats --- test/integration/oni-css.bats | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/integration/oni-css.bats (limited to 'test/integration') diff --git a/test/integration/oni-css.bats b/test/integration/oni-css.bats new file mode 100644 index 0000000..66c625c --- /dev/null +++ b/test/integration/oni-css.bats @@ -0,0 +1,11 @@ +#!/usr/bin/env bats + +@test "Opening a .css file loads oni-css" { + run emacs -batch -l package -f package-initialize \ + -visit test.css \ + -eval "(prin1 (featurep 'oni-css))" + + echo "$output" + + [[ "$output" == *"t" ]] +} -- cgit v1.3-2-g0d8e