不要怂,就是干,撸起袖子干!

Commit 623b5780 by Sascha Depold

--help should print the help

1 parent fd59376c
Showing with 7 additions and 0 deletions
...@@ -7,3 +7,10 @@ ...@@ -7,3 +7,10 @@
[ $(expr "${lines[0]}" : "Using environment 'development'.") -ne 0 ] [ $(expr "${lines[0]}" : "Using environment 'development'.") -ne 0 ]
[ $(expr "${lines[1]}" : "Try \"sequelize --help\" for usage information.") -ne 0 ] [ $(expr "${lines[1]}" : "Try \"sequelize --help\" for usage information.") -ne 0 ]
} }
@test "--help prints the help" {
run bin/sequelize --help
[ $status -eq 0 ]
[ "${lines[0]}" = " Usage: sequelize [options]" ]
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!