Skip to content

Commit

Permalink
Test with a deep file
Browse files Browse the repository at this point in the history
  • Loading branch information
Grégoire Paris committed Jun 30, 2016
1 parent fb2fb3e commit c96ae70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/php/phpcs_fixer_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ testRunsPhpCsFixerOnPhpFileChange()
export -f phpcsfixer
export SHUNIT_TMPDIR
initRepo
mkdir --parents a/b/c.php
echo "a" > c.php
git add c.php
mkdir --parents a/b
echo "a" > a/b/c.php
git add a/b/c.php
git commit --quiet --message "first version of c.php"
assertTrue 'PhpCsFixer was not run' "[ $(cat "${SHUNIT_TMPDIR}/phpCsFixerWasRun") == fix ]"
rm "${SHUNIT_TMPDIR}/phpCsFixerWasRun"
Expand Down

0 comments on commit c96ae70

Please sign in to comment.