Skip to content

Commit 982849e

Browse files
committed
update expected files
1 parent 070dea3 commit 982849e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rewatch/tests/format.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ bold "Test: It should format all files"
66
git diff --name-only ./
77
error_output=$("$REWATCH_EXECUTABLE" format --all)
88
git_diff_file_count=$(git diff --name-only ./ | wc -l | xargs)
9-
if [ $? -eq 0 ] && [ $git_diff_file_count -eq 6 ];
9+
if [ $? -eq 0 ] && [ $git_diff_file_count -eq 8 ];
1010
then
1111
success "Test package formatted. Got $git_diff_file_count changed files."
1212
git restore .
1313
else
1414
error "Error formatting test package"
15-
echo "Expected 4 files to be changed, got $git_diff_file_count"
15+
echo "Expected 8 files to be changed, got $git_diff_file_count"
1616
echo $error_output
1717
exit 1
1818
fi

rewatch/tests/suffix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fi
3131
# Count files with new extension
3232
file_count=$(find ./packages -name *.res.js | wc -l)
3333

34-
if [ "$file_count" -eq 32 ];
34+
if [ "$file_count" -eq 36 ];
3535
then
3636
success "Found files with correct suffix"
3737
else

0 commit comments

Comments
 (0)