Skip to content

Commit

Permalink
test: update the output.sh manual check
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloLION committed Oct 22, 2023
1 parent dec35b6 commit 9364607
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions test/output.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
#!/bin/bash

function desc() {
echo "\033[01;38;5;022m############### $1 ###############\033[0m";
echo "\033[01;38;5;022m############### $1 ###############\033[0m"
}

desc "LIST"
Expand All @@ -16,7 +16,10 @@ desc "DEPENDS"
desc "CIRCULAR (OK)"
./bin/cli.js test/cjs/a.js -c

desc "CIRCULAR (FOUND)"
desc "CIRCULAR (FOUND, NO INDEX COUNTING)"
./bin/cli.js test/cjs/circular/a.js -c --no-count

desc "CIRCULAR (FOUND, WITH INDEX COUNT)"
./bin/cli.js test/cjs/circular/a.js -c

desc "NPM"
Expand Down Expand Up @@ -52,4 +55,4 @@ desc "ERROR"
desc "DEBUG"
./bin/cli.js lib/log.js --debug

exit 0
exit 0

0 comments on commit 9364607

Please sign in to comment.