Skip to content

Commit 44987a6

Browse files
committed
fix the issue with reading the last line in passed-tests.txt
1 parent 6eb1533 commit 44987a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ echo "Processing tests from passed-tests.txt..."
4040
echo ""
4141

4242
# Read the file line by line
43-
while IFS= read -r line; do
43+
while IFS= read -r line || [[ -n "$line" ]]; do
4444
# Skip empty lines - keep them as is
4545
if [[ -z "$line" ]]; then
4646
echo "$line" >> "$temp_file"

0 commit comments

Comments
 (0)