diff options
| author | Toby Goodwin <toby@paccrat.org> | 2018-03-19 20:55:56 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2018-03-19 20:55:56 +0000 |
| commit | 7a643120366f1ea24eac5ccb759d4df616e7789b (patch) | |
| tree | 17faf7ba3be5e185b8262cfcbafbe23a9f64260a /trip.rc | |
| parent | 2dd0aa249c9bac4e5c616d1f386dc4271fdbab46 (diff) | |
implement desugaring version (again, lost due to git problem)
Diffstat (limited to 'trip.rc')
| -rw-r--r-- | trip.rc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -706,7 +706,8 @@ if (~ $status 0) { # exercise "if not" submatch 'if (false) echo foo; if not echo bar' 'bar' 'if not 1' -submatch 'if (false) echo foo; echo qux; if not echo bar' 'rc: `if not'' must follow `if''' 'if not 2' +submatch 'if (false) echo -n foo; if not echo -n bar; echo qux' 'barqux' 'if not 2' +submatch 'if (false) echo foo; echo qux; if not echo bar' 'rc: `if not'' must follow `if''' 'if not 3' # exercise flag builtin submatch 'flag' 'rc: not enough arguments to flag' 'flag no args' |