| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1d7e1c0 commit 7ca02b0
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,13 +1,13 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | - const common = require('../common'); | ||
| 3 | - const path = require('path'); | ||
| 2 | + require('../common'); | ||
| 3 | + const fixtures = require('../common/fixtures'); | ||
| 4 | 4 | const assert = require('assert'); | |
| 5 | 5 | ||
| 6 | 6 | assert.throws(function() { | |
| 7 | 7 | require('internal/freelist'); | |
| 8 | 8 | }, /^Error: Cannot find module 'internal\/freelist'$/); | |
| 9 | 9 | ||
| 10 | 10 | assert.strictEqual( | |
| 11 | - require(path.join(common.fixturesDir, 'internal-modules')), | ||
| 11 | + require(fixtures.path('internal-modules')), | ||
| 12 | 12 | 42 | |
| 13 | 13 | ); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments