Skip to content

test: refactor 'set' tests to AVA#576

Merged
freitagbr merged 1 commit intomasterfrom
test-ava-set
Nov 27, 2016
Merged

test: refactor 'set' tests to AVA#576
freitagbr merged 1 commit intomasterfrom
test-ava-set

Conversation

@nfischer
Copy link
Copy Markdown
Member

This is an automated PR, so double check that I got all the test cases. I'll follow up once I've verified that this translates everything correctly.

ava-test/set.js Outdated
});

const nodeVersion = process.versions.node.split('.').map(str => parseInt(str, 10));
const uncaughtErrorExitCode = (nodeVersion[0] === 0 && nodeVersion[1] < 11) ? 8 : 1;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Move these up a few lines with the other const declaration.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is some legacy stuff. More of our stuff breaks on v0.10, and even this code doesn't work on v0.8, so I'm just taking it out. The value for v0.11+ is 1.

@nfischer
Copy link
Copy Markdown
Member Author

@freitagbr PTAL

@nfischer nfischer changed the title test: refactor set tests to AVA test: refactor 'set' tests to AVA Nov 24, 2016
@freitagbr
Copy link
Copy Markdown
Contributor

LGTM

@nfischer
Copy link
Copy Markdown
Member Author

@freitagbr can you approve the changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants