Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add test for tls.parseCertString #4283

Merged
merged 1 commit into from
Dec 15, 2015

Conversation

evanlucas
Copy link
Contributor

It does not currently have any explicit tests to verify the behavior.

@evanlucas evanlucas added tls Issues and PRs related to the tls subsystem. test Issues and PRs related to the tests. labels Dec 15, 2015
const assert = require('assert');
const tls = require('tls');

const singles = 'C=US\nST=CA\nL=SF\nO=Joyent\nOU=Node.js\nCN=ca1\n'
Copy link
Member

Choose a reason for hiding this comment

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

s/Joyent/Node.js Foundation/? That also tests if blanks in the O field are parsed correctly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call. I had copied that directly from the comment above the actual function but will change.

@bnoordhuis
Copy link
Member

LGTM with a suggestion.

@evanlucas
Copy link
Contributor Author

It does not currently have any explicit tests to verify the behavior.

PR-URL: nodejs#4283
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@evanlucas evanlucas closed this Dec 15, 2015
@evanlucas evanlucas deleted the parseCertStringTest branch December 15, 2015 14:10
@evanlucas evanlucas merged commit 0b9c3a3 into nodejs:master Dec 15, 2015
@evanlucas
Copy link
Contributor Author

Landed in 0b9c3a3. Thanks!

evanlucas added a commit that referenced this pull request Dec 15, 2015
It does not currently have any explicit tests to verify the behavior.

PR-URL: #4283
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@rvagg rvagg mentioned this pull request Dec 17, 2015
evanlucas added a commit that referenced this pull request Dec 30, 2015
It does not currently have any explicit tests to verify the behavior.

PR-URL: #4283
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
MylesBorins pushed a commit that referenced this pull request Jan 19, 2016
It does not currently have any explicit tests to verify the behavior.

PR-URL: #4283
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@MylesBorins MylesBorins mentioned this pull request Jan 19, 2016
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
It does not currently have any explicit tests to verify the behavior.

PR-URL: nodejs#4283
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues and PRs related to the tests. tls Issues and PRs related to the tls subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants