Skip to content

Commit

Permalink
resolve integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Dec 14, 2021
1 parent ab223ce commit d0f5674
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions SCC-OUTPUT-REPORT.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
<th>85</th>
<th>855</th>
<th>95</th>
<th>39017</th>
<th>38992</th>
</tr><tr>
<th>C#</th>
<th>2</th>
Expand Down Expand Up @@ -372,12 +372,12 @@
</tr><tr>
<th>HTML</th>
<th>1</th>
<th>608</th>
<th>590</th>
<th>0</th>
<th>0</th>
<th>608</th>
<th>590</th>
<th>0</th>
<th>8879</th>
<th>8626</th>
</tr><tr>
<th>JSON</th>
<th>1</th>
Expand Down Expand Up @@ -580,11 +580,11 @@
<tfoot><tr>
<th>Total</th>
<th>172</th>
<th>26413</th>
<th>26395</th>
<th>3001</th>
<th>1748</th>
<th>21664</th>
<th>21646</th>
<th>2363</th>
<th>1799582</th>
<th>1799304</th>
</tr></tfoot>
</table></body></html>
Empty file removed examples/ignore/ignorefile.txt
Empty file.
10 changes: 5 additions & 5 deletions test-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ else
echo -e "${GREEN}PASSED minified ignored check"
fi

if ./scc ./examples/minified/ --no-min-gen | grep -q "0.000000"; then
if ./scc ./examples/minified/ --no-min-gen | grep -q "\$0"; then
echo -e "${GREEN}PASSED removed min"
else
echo -e "${RED}======================================================="
Expand All @@ -437,7 +437,7 @@ else
exit
fi

if ./scc ./examples/generated/ --no-min-gen | grep -q "0.000000"; then
if ./scc ./examples/generated/ --no-min-gen | grep -q "\$0"; then
echo -e "${GREEN}PASSED removed gen"
else
echo -e "${RED}======================================================="
Expand Down Expand Up @@ -473,7 +473,7 @@ else
echo -e "${GREEN}PASSED extension param should ignore #!"
fi

if ./scc -z --min-gen-line-length 1 --no-min-gen . | grep -q "0.000000"; then
if ./scc -z --min-gen-line-length 1 --no-min-gen . | grep -q "\$0"; then
echo -e "${GREEN}PASSED min gen line length"
else
echo -e "${RED}======================================================="
Expand All @@ -482,7 +482,7 @@ else
exit
fi

if ./scc --no-large --large-byte-count 0 ./examples/language | grep -q "0.000000"; then
if ./scc --no-large --large-byte-count 0 ./examples/language | grep -q "\$0"; then
echo -e "${GREEN}PASSED no large byte test"
else
echo -e "${RED}======================================================="
Expand All @@ -491,7 +491,7 @@ else
exit
fi

if ./scc --no-large --large-line-count 0 ./examples/language | grep -q "0.000000"; then
if ./scc --no-large --large-line-count 0 ./examples/language | grep -q "\$0"; then
echo -e "${GREEN}PASSED no large line test"
else
echo -e "${RED}======================================================="
Expand Down

0 comments on commit d0f5674

Please sign in to comment.