Skip to content

Commit 02459f9

Browse files
authored
Merge pull request #26 from slangbot/format-5913-aleino/example-test-linting
Format code for PR shader-slang#5913
2 parents d1589c5 + 33bbb72 commit 02459f9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/ci-examples.sh

+3-4
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function run_sample {
139139
local args
140140
sample="$1"
141141
shift
142-
args=( "$@" )
142+
args=("$@")
143143
sample_count=$((sample_count + 1))
144144
summary=("${summary[@]}" "$sample: ")
145145
if skip "$os:$config:$sample"; then
@@ -186,9 +186,8 @@ done
186186
echo ""
187187
echo "Summary: "
188188
echo
189-
for line in "${summary[@]}"
190-
do
191-
printf ' %s\n' "$line"
189+
for line in "${summary[@]}"; do
190+
printf ' %s\n' "$line"
192191
done
193192
echo ""
194193
echo "$failure_count failed, and $skip_count skipped, out of $sample_count tests"

0 commit comments

Comments
 (0)