| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,10 +1,10 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | - const common = require('../common'); | ||
| 2 | + require('../common'); | ||
| 3 | + const fixtures = require('../common/fixtures'); | ||
| 3 | 4 | const assert = require('assert'); | |
| 4 | 5 | const fs = require('fs'); | |
| 5 | - const path = require('path'); | ||
| 6 | 6 | ||
| 7 | - const example = path.join(common.fixturesDir, 'x.txt'); | ||
| 7 | + const example = fixtures.path('x.txt'); | ||
| 8 | 8 | ||
| 9 | 9 | assert.doesNotThrow(function() { | |
| 10 | 10 | fs.createReadStream(example, undefined); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments