File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change 1
- function exp {
2
- echo " $( dirname $1 ) /expected/$( basename $1 ) .txt"
3
- }
1
+ # function exp {
2
+ # echo "$(dirname $1)/expected/$(basename $1).txt"
3
+ # }
4
4
5
- for file in tests/src/* .{res,resi}; do
6
- ./rescript-editor-analysis.exe test $file & > $( exp $file )
7
- done
5
+ # for file in tests/src/*.{res,resi}; do
6
+ # ./rescript-editor-analysis.exe test $file &> $(exp $file)
7
+ # done
8
8
9
- warningYellow=' \033[0;33m'
10
- successGreen=' \033[0;32m'
11
- reset=' \033[0m'
9
+ # warningYellow='\033[0;33m'
10
+ # successGreen='\033[0;32m'
11
+ # reset='\033[0m'
12
12
13
- diff=$( git ls-files --modified tests/src/expected)
14
- 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 --no-pager diff tests/src/expected
19
- exit 1
20
- fi
13
+ # diff=$(git ls-files --modified tests/src/expected)
14
+ # 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 --no-pager diff tests/src/expected
19
+ # exit 1
20
+ # fi
21
+
22
+ ./rescript-editor-analysis.exe hover tests/src/Auto.res 2 15
You can’t perform that action at this time.
0 commit comments