Skip to content

Conversation

@trivikr
Copy link
Member

@trivikr trivikr commented Feb 19, 2018

This code change adds tests for the following code:

if (typeof encoding === 'function') {
cb = encoding;
encoding = 'utf8';
}
if (this[kState].closed) {
const err = new errors.Error('ERR_HTTP2_INVALID_STREAM');
if (typeof cb === 'function')
process.nextTick(cb, err);
else
throw err;
return;
}

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

http2

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Feb 19, 2018
Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

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

LGTM so long as CI comes back green

@jasnell
Copy link
Member

jasnell commented Feb 20, 2018

@BridgeAR BridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 21, 2018
BridgeAR pushed a commit to BridgeAR/node that referenced this pull request Feb 22, 2018
@BridgeAR
Copy link
Member

Landed in a926c1a 🎉

@BridgeAR BridgeAR closed this Feb 22, 2018
addaleax pushed a commit to addaleax/node that referenced this pull request Feb 26, 2018
addaleax pushed a commit that referenced this pull request Feb 26, 2018
@addaleax addaleax mentioned this pull request Feb 27, 2018
@trivikr trivikr deleted the test-http2-compat-write branch March 8, 2018 14:46
MayaLekova pushed a commit to MayaLekova/node that referenced this pull request May 8, 2018
MylesBorins pushed a commit that referenced this pull request Aug 7, 2018
MylesBorins pushed a commit that referenced this pull request Aug 9, 2018
@MylesBorins MylesBorins mentioned this pull request Aug 16, 2018
MylesBorins pushed a commit that referenced this pull request Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants