Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: replace resolve use path method
  • Loading branch information
pauljohnberry committed Oct 6, 2017
commit 86dd0dc5ac5c01d4f077b53d5e8c3dedbfa82a8c
2 changes: 1 addition & 1 deletion test/parallel/test-http2-respond-file-fd.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const {
HTTP2_HEADER_CONTENT_LENGTH
} = http2.constants;

const fname = path.resolve(fixtures.path(), 'elipses.txt');
const fname = fixtures.path('elipses.txt');

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: This does not really need the newline IMO.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tniessen I agree, removed now.

const data = fs.readFileSync(fname);
const stat = fs.statSync(fname);
Expand Down