Skip to content

Commit 5226749

Browse files
authored
Merge pull request #943 from johnbieren/master
Change git -C reset to git reset
2 parents 21124f6 + 2448451 commit 5226749

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/integration/spec.bats

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ function teardown() {
7373
[ "$status" -eq 0 ]
7474

7575
SPEC_COMMIT=$(grep runtime-spec ${TESTDIR}/../../Godeps/Godeps.json -A 4 | grep Rev | cut -d":" -f 2 | tr -d ' "')
76-
run git -C src/runtime-spec reset --hard "${SPEC_COMMIT}"
76+
(
77+
cd src/runtime-spec &&
78+
run git reset --hard "${SPEC_COMMIT}"
79+
)
7780
[ "$status" -eq 0 ]
7881
[ -e src/runtime-spec/schema/schema.json ]
7982

0 commit comments

Comments
 (0)