From 8dc211e2d217f7ab0e02ed4fcdea3e4ec006f118 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 9 Feb 2021 17:36:10 -0800 Subject: Add configuration for Elm --- test/integration/oni-elm.bats | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 test/integration/oni-elm.bats (limited to 'test') diff --git a/test/integration/oni-elm.bats b/test/integration/oni-elm.bats new file mode 100755 index 0000000..d1c9564 --- /dev/null +++ b/test/integration/oni-elm.bats @@ -0,0 +1,11 @@ +#!/usr/bin/env bats + +@test "Opening a .elm file loads oni-elmc" { + run emacs -batch -l package -f package-initialize \ + -visit test.elm \ + -eval "(prin1 (featurep 'oni-elm))" + + echo "$output" + + [[ "$output" == *"t" ]] +} -- cgit v1.2.3-54-g00ecf