| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,17 +34,18 @@ baseFoo = 'foo'; // eslint-disable-line no-undef | |||
| 34 | 34 | global.baseBar = 'bar'; | |
| 35 | 35 | ||
| 36 | 36 | assert.strictEqual(global.baseFoo, 'foo', | |
| 37 | - 'x -> global.x in base level not working'); | ||
| 37 | + `x -> global.x failed: global.baseFoo = ${global.baseFoo}`); | ||
| 38 | 38 | ||
| 39 | 39 | assert.strictEqual(baseBar, // eslint-disable-line no-undef | |
| 40 | 40 | 'bar', | |
| 41 | - 'global.x -> x in base level not working'); | ||
| 41 | + // eslint-disable-next-line no-undef | ||
| 42 | + `global.x -> x failed: baseBar = ${baseBar}`); | ||
| 42 | 43 | ||
| 43 | 44 | const mod = require(fixtures.path('global', 'plain')); | |
| 44 | 45 | const fooBar = mod.fooBar; | |
| 45 | 46 | ||
| 46 | - assert.strictEqual(fooBar.foo, 'foo', 'x -> global.x in sub level not working'); | ||
| 47 | + assert.strictEqual(fooBar.foo, 'foo'); | ||
| 47 | 48 | ||
| 48 | - assert.strictEqual(fooBar.bar, 'bar', 'global.x -> x in sub level not working'); | ||
| 49 | + assert.strictEqual(fooBar.bar, 'bar'); | ||
| 49 | 50 | ||
| 50 | 51 | assert.strictEqual(Object.prototype.toString.call(global), '[object global]'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments