| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,8 +1,8 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | const common = require('../common'); | |
| 3 | + const fixtures = require('../common/fixtures'); | ||
| 3 | 4 | const fs = require('fs'); | |
| 4 | 5 | const net = require('net'); | |
| 5 | - const path = require('path'); | ||
| 6 | 6 | const assert = require('assert'); | |
| 7 | 7 | ||
| 8 | 8 | // Test if ENOTSOCK is fired when trying to connect to a file which is not | |
@@ -13,7 +13,7 @@ let emptyTxt; | |||
| 13 | 13 | if (common.isWindows) { | |
| 14 | 14 | // on Win, common.PIPE will be a named pipe, so we use an existing empty | |
| 15 | 15 | // file instead | |
| 16 | - emptyTxt = path.join(common.fixturesDir, 'empty.txt'); | ||
| 16 | + emptyTxt = fixtures.path('empty.txt'); | ||
| 17 | 17 | } else { | |
| 18 | 18 | common.refreshTmpDir(); | |
| 19 | 19 | // Keep the file name very short so tht we don't exceed the 108 char limit | |
| Back | FazBrowse Home | New Git URL |
0 commit comments