Move test.bats to test/git-check-assertions.bats
This commit is contained in:
parent
a82e98d775
commit
653a1b67bc
2 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ resholve.mkDerivation {
|
|||
root = ./.;
|
||||
fileset = fs.unions [
|
||||
./bin/git-check-assertions
|
||||
./test.bats
|
||||
./test/git-check-assertions.bats
|
||||
];
|
||||
};
|
||||
|
||||
|
|
@ -37,13 +37,13 @@ resholve.mkDerivation {
|
|||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
shellcheck bin/git-check-assertions test.bats
|
||||
shellcheck bin/git-check-assertions test/git-check-assertions.bats
|
||||
git init
|
||||
git config user.email test
|
||||
git config user.name test
|
||||
git checkout -b main
|
||||
git commit --allow-empty -m "initial"
|
||||
./test.bats
|
||||
./test/git-check-assertions.bats
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue