| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 893024c commit aa86c78
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -40,7 +40,7 @@ async function test() { | |||
| 40 | 40 | }); | |
| 41 | 41 | ||
| 42 | 42 | const result = s.runInThisContext(); | |
| 43 | - assert.strictEqual(foo.namespace, await result); | ||
| 43 | + assert.strictEqual(await result, foo.namespace); | ||
| 44 | 44 | } | |
| 45 | 45 | ||
| 46 | 46 | { | |
@@ -53,7 +53,7 @@ async function test() { | |||
| 53 | 53 | }); | |
| 54 | 54 | await m.link(common.mustNotCall()); | |
| 55 | 55 | await m.evaluate(); | |
| 56 | - assert.strictEqual(foo.namespace, await globalThis.fooResult); | ||
| 56 | + assert.strictEqual(await globalThis.fooResult, foo.namespace); | ||
| 57 | 57 | delete globalThis.fooResult; | |
| 58 | 58 | } | |
| 59 | 59 | ||
@@ -68,7 +68,7 @@ async function test() { | |||
| 68 | 68 | }); | |
| 69 | 69 | ||
| 70 | 70 | const result = s.runInThisContext(); | |
| 71 | - assert.strictEqual(foo.namespace, await result); | ||
| 71 | + assert.strictEqual(await result, foo.namespace); | ||
| 72 | 72 | } | |
| 73 | 73 | } | |
| 74 | 74 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments