| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 66a2c71 commit 5bfc4f5
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,9 +4,11 @@ | |||
| 4 | 4 | const common = require('../common'); | |
| 5 | 5 | if (!common.hasCrypto) | |
| 6 | 6 | common.skip('missing crypto'); | |
| 7 | + | ||
| 8 | + const fixtures = require('../common/fixtures'); | ||
| 9 | + | ||
| 7 | 10 | const http2 = require('http2'); | |
| 8 | 11 | const assert = require('assert'); | |
| 9 | - const path = require('path'); | ||
| 10 | 12 | const fs = require('fs'); | |
| 11 | 13 | ||
| 12 | 14 | const { | |
@@ -15,7 +17,7 @@ const { | |||
| 15 | 17 | HTTP2_HEADER_LAST_MODIFIED | |
| 16 | 18 | } = http2.constants; | |
| 17 | 19 | ||
| 18 | - const fname = path.resolve(common.fixturesDir, 'elipses.txt'); | ||
| 20 | + const fname = fixtures.path('elipses.txt'); | ||
| 19 | 21 | const data = fs.readFileSync(fname); | |
| 20 | 22 | const stat = fs.statSync(fname); | |
| 21 | 23 | const fd = fs.openSync(fname, 'r'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments