Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #86 from github/correct-test-description
Correct copy/pasted test description
Robin Neatherway authored and GitHub committed Jun 26, 2020

Unverified

No user is associated with the committer email.
2 parents 504c8cf + 151d531 commit a08742f
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/util.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/util.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/util.test.ts
@@ -58,7 +58,7 @@ test('getThreadsFlag() should return the correct --threads flag', t => {
}
});

test('getThreadsFlag() throws if the ram input is < 0 or NaN', t => {
test('getThreadsFlag() throws if the threads input is not an integer', t => {
process.env['INPUT_THREADS'] = "hello!";
t.throws(util.getThreadsFlag);
});

0 comments on commit a08742f

Please sign in to comment.