We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef2d97f commit 7c3a5c8Copy full SHA for 7c3a5c8
analysis/test.sh
@@ -2,7 +2,7 @@ function exp {
2
echo "$(dirname $1)/expected/$(basename $1).txt"
3
}
4
5
-for file in tests/src/*.res*; do
+for file in tests/src/*.(res,resi); do
6
./rescript-editor-analysis.exe test $file &> $(exp $file)
7
done
8
@@ -15,5 +15,6 @@ if [[ $diff = "" ]]; then
15
printf "${successGreen}✅ No unstaged tests difference.${reset}\n"
16
else
17
printf "${warningYellow}⚠️ There are unstaged differences in tests/! Did you break a test?\n${diff}\n${reset}"
18
+ git diff tests/src/expected
19
exit 1
20
fi
0 commit comments