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