11 lines
242 B
Bash
11 lines
242 B
Bash
#!/usr/bin/env bats
|
|
|
|
@test "Opening a .conf file loads oni-conf" {
|
|
run emacs -batch -l package -f package-initialize \
|
|
-visit test.conf \
|
|
-eval "(prin1 (featurep 'oni-conf))"
|
|
|
|
echo "$output"
|
|
|
|
[ "$output" = "t" ]
|
|
}
|