Skip to content

Commit

Permalink
Tests: Update create-block test with correct expected amount
Browse files Browse the repository at this point in the history
There are now two additional CSS files, `style-index-rtl.css` and `index-rtl.css`.
  • Loading branch information
ryelle committed May 9, 2024
1 parent cf3015f commit 059df0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/test-create-block.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ status "Building block..."
../node_modules/.bin/wp-scripts build

status "Verifying build..."
expected=7
expected=9
actual=$( find build -maxdepth 1 -type f | wc -l )
if [ "$expected" -ne "$actual" ]; then
error "Expected $expected files in the \`build\` directory, but found $actual."
Expand Down

0 comments on commit 059df0a

Please sign in to comment.