Add test.bats
This commit is contained in:
parent
9fb8507056
commit
144ef949cf
2 changed files with 13 additions and 0 deletions
|
|
@ -10,6 +10,9 @@ trim_trailing_whitespace = true
|
||||||
[git-check-assertions]
|
[git-check-assertions]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.bats]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
[*.nix]
|
[*.nix]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
|
|
|
||||||
10
test.bats
Executable file
10
test.bats
Executable file
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env bats
|
||||||
|
|
||||||
|
setup() {
|
||||||
|
DIR="$( cd "$( dirname "$BATS_TEST_FILENAME" )" >/dev/null 2>&1 && pwd )"
|
||||||
|
PATH="$DIR:$PATH"
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "can run" {
|
||||||
|
git-check-assertions
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue