From 144ef949cfe2d9b618fc6e5034d5103b1835b96f Mon Sep 17 00:00:00 2001 From: Sven van Heugten Date: Sun, 22 Feb 2026 07:07:26 +0100 Subject: [PATCH] Add test.bats --- .editorconfig | 3 +++ test.bats | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100755 test.bats diff --git a/.editorconfig b/.editorconfig index 8d5b7df..2909bf8 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,6 +10,9 @@ trim_trailing_whitespace = true [git-check-assertions] indent_size = 2 +[*.bats] +indent_size = 2 + [*.nix] indent_size = 2 diff --git a/test.bats b/test.bats new file mode 100755 index 0000000..48965fd --- /dev/null +++ b/test.bats @@ -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 +}