Skip to content

Latest commit

 

History

History
25 lines (11 loc) · 281 Bytes

fn_expect.md

File metadata and controls

25 lines (11 loc) · 281 Bytes

Best: expect

Expects a statement returns true.

Arguments:

  • ... [string] -- The command and arguments to execute.

Caveats:

  • The bash-specific [[ a = b ]] syntax does not work.

Example:

expect [ "hello" = "world" ]
expect ! false