Skip to content

Commit af58f1a

Browse files
committed
EndToEnd tests: fix tear_down()
BashUnit 0.25.0 improves the error reporting from the test fixture methods, which exposes a flaw in the `phpcbf_test.sh::tear_down()` method. Should be fixed now. Ref: * https://github.com/TypedDevs/bashunit/releases/tag/0.25.0 * TypedDevs/bashunit 489 * TypedDevs/bashunit 491
1 parent bc5755a commit af58f1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/EndToEnd/phpcbf_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
function tear_down() {
4-
rm -r tests/EndToEnd/Fixtures/*.fixed
4+
rm -rf tests/EndToEnd/Fixtures/*.fixed
55
}
66

77
function test_phpcbf_is_working() {

0 commit comments

Comments
 (0)