File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ async function test() {
4040 } ) ;
4141
4242 const result = s . runInThisContext ( ) ;
43- assert . strictEqual ( foo . namespace , await result ) ;
43+ assert . strictEqual ( await result , foo . namespace ) ;
4444 }
4545
4646 {
@@ -53,7 +53,7 @@ async function test() {
5353 } ) ;
5454 await m . link ( common . mustNotCall ( ) ) ;
5555 await m . evaluate ( ) ;
56- assert . strictEqual ( foo . namespace , await globalThis . fooResult ) ;
56+ assert . strictEqual ( await globalThis . fooResult , foo . namespace ) ;
5757 delete globalThis . fooResult ;
5858 }
5959
@@ -68,7 +68,7 @@ async function test() {
6868 } ) ;
6969
7070 const result = s . runInThisContext ( ) ;
71- assert . strictEqual ( foo . namespace , await result ) ;
71+ assert . strictEqual ( await result , foo . namespace ) ;
7272 }
7373}
7474
You can’t perform that action at this time.
0 commit comments