#!/usr/bin/env bats

@test "Opening a .bats file loads oni-bats" {
    run emacs -batch -l package -f package-initialize \
        -visit test.bats \
        -eval "(prin1 (featurep 'oni-bats))"

    echo "\"$output\"" 

    [[ "$output" == *"t" ]]
}