File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ bold "Test: It should format all files"
6
6
git diff --name-only ./
7
7
error_output=$( " $REWATCH_EXECUTABLE " format --all)
8
8
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 ];
10
10
then
11
11
success " Test package formatted. Got $git_diff_file_count changed files."
12
12
git restore .
13
13
else
14
14
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 "
16
16
echo $error_output
17
17
exit 1
18
18
fi
Original file line number Diff line number Diff line change 31
31
# Count files with new extension
32
32
file_count=$( find ./packages -name * .res.js | wc -l)
33
33
34
- if [ " $file_count " -eq 32 ];
34
+ if [ " $file_count " -eq 36 ];
35
35
then
36
36
success " Found files with correct suffix"
37
37
else
You can’t perform that action at this time.
0 commit comments