Commit 9ad9c34

matt-fidd <81489167+matt-fidd@users.noreply.github.com>
2021-05-20 20:05:55
Update to test.mjs to allow for cat to return >0 as an error, rather than just 1 (#103)
1 parent 496405c
Changed files (1)
test.mjs
@@ -48,7 +48,7 @@ import {strict as assert} from 'assert'
     console.log('Caught an exception -> ok')
     p = e
   }
-  assert(p.exitCode === 1)
+  assert(p.exitCode !== 0)
 }
 
 { // Env vars is safe to pass