Skip to content

Commit d33daae

Browse files
committed
fix: linter
1 parent d699003 commit d33daae

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
## Unreleased
44

5-
- Add `--init` option to get you started quickly
6-
- Allow passing a directory to `--init`
5+
- Add `--init [dir]` option to get you started quickly
76
- Fix process time always shows as 0 ms
87
- Fixed terminal width detection first tput and fall back stty
98
- Refactor clock optimizing the implementation used to get the time

tests/acceptance/bashunit_init_test.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# shellcheck disable=SC2317
3+
24
set -euo pipefail
35

46
TMP_DIR="tmp/init"
@@ -30,11 +32,3 @@ function test_bashunit_init_custom_directory() {
3032
assert_file_exists custom/bootstrap.sh
3133
popd >/dev/null
3234
}
33-
34-
function test_bashunit_init_custom_directory() {
35-
pushd "$TMP_DIR" >/dev/null
36-
../../bashunit --init custom > /tmp/init.log
37-
assert_file_exists custom/example_test.sh
38-
assert_file_exists custom/bootstrap.sh
39-
popd >/dev/null
40-
}

0 commit comments

Comments
 (0)