| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 387b0b8 commit e4f0483
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,8 +1,8 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | + const fixtures = require('../common/fixtures'); | ||
| 4 | 5 | const assert = require('assert'); | |
| 5 | - const path = require('path'); | ||
| 6 | 6 | const repl = require('repl'); | |
| 7 | 7 | let found = false; | |
| 8 | 8 | ||
@@ -17,7 +17,7 @@ common.ArrayStream.prototype.write = function(output) { | |||
| 17 | 17 | ||
| 18 | 18 | const putIn = new common.ArrayStream(); | |
| 19 | 19 | repl.start('', putIn); | |
| 20 | - let file = path.join(common.fixturesDir, 'syntax', 'bad_syntax'); | ||
| 20 | + let file = fixtures.path('syntax', 'bad_syntax'); | ||
| 21 | 21 | ||
| 22 | 22 | if (common.isWindows) | |
| 23 | 23 | file = file.replace(/\\/g, '\\\\'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments