@@ -7,25 +7,14 @@ import {
7
7
assertStringIncludes ,
8
8
} from "./dev_deps.ts" ;
9
9
10
- import { $ , $e , $o , $s , cd , path , ProcessError } from "./mod.ts" ;
10
+ import { $ , $e , $o , cd , path , ProcessError } from "./mod.ts" ;
11
11
12
12
Deno . test ( "$ works" , async ( ) => {
13
13
const result = await $ `echo hello` ;
14
14
15
15
assertEquals ( result . stdout , "hello\n" ) ;
16
16
} ) ;
17
17
18
- Deno . test ( "$s works" , async ( ) => {
19
- const result1 = await $s `echo hello` ;
20
- assertEquals ( result1 , 0 ) ;
21
-
22
- const result2 = await $s `echo hello >&2` ;
23
- assertEquals ( result2 , 0 ) ;
24
-
25
- const result3 = await $s `echo hello; exit 1;` ;
26
- assertEquals ( result3 , 1 ) ;
27
- } ) ;
28
-
29
18
Deno . test ( "$o works" , async ( ) => {
30
19
const result1 = await $o `echo hello` ;
31
20
assertEquals ( result1 , "hello" ) ;
@@ -185,7 +174,7 @@ Deno.test({
185
174
// @TODO : tests are flaky on github actions.
186
175
// Test runner is green but throws: No such file or directory (os error 2)
187
176
// But they don't fail while uncommenting all other tests.
188
- // Locally all tests pass.
177
+ // Locally all tests pass.
189
178
Deno . test ( {
190
179
name : "$ should have a pid" ,
191
180
ignore : ! ! Deno . env . get ( "CI" ) ,
0 commit comments