Skip to content

Commit cc81d93

Browse files
committed
Merge branch 'main' of https://github.com/devfernandoa/ash
2 parents 271fb5a + 91ebf28 commit cc81d93

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

analysis/tests/run-tests.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ for file in tests/negative/*.ash; do
3030
echo "$file"
3131
./ash < "$file" > /dev/null
3232
if [ $? -ne 0 ]; then
33-
echo -e "${GREEN}✔ Correctly failed${NC}"
34-
((PASS_COUNT++))
35-
else
3633
echo -e "${RED}✘ Unexpected pass: $file${NC}"
3734
((FAIL_COUNT++))
35+
else
36+
echo -e "${GREEN}✔ Correctly failed${NC}"
37+
((PASS_COUNT++))
3838
fi
3939
echo
4040
done

0 commit comments

Comments
 (0)