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

Fix common.expand error #709

Merged
merged 2 commits into from
May 3, 2017
Merged

Fix common.expand error #709

merged 2 commits into from
May 3, 2017

Conversation

freitagbr
Copy link
Contributor

Fixes #664

@freitagbr freitagbr added the fix Bug/defect, or a fix for such a problem label Apr 28, 2017
@freitagbr freitagbr requested a review from nfischer April 28, 2017 03:56
@codecov-io
Copy link

Codecov Report

Merging #709 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #709      +/-   ##
==========================================
+ Coverage   94.66%   94.68%   +0.01%     
==========================================
  Files          33       33              
  Lines        1219     1223       +4     
==========================================
+ Hits         1154     1158       +4     
  Misses         65       65
Impacted Files Coverage Δ
src/common.js 98.9% <100%> (+0.01%) ⬆️
src/cp.js 91.12% <100%> (+0.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bbe521b...df156c5. Read the comment docs.


test('non-string', t => {
const result = common.expand([5]);
t.falsy(shell.error());
Copy link
Member

Choose a reason for hiding this comment

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

No need to check shell.error(), it's never set by this function (it's internal). Maybe just file a bug to clean up these tests later.

@freitagbr freitagbr merged commit 92d3f39 into master May 3, 2017
@freitagbr freitagbr deleted the fix-expand-error branch May 3, 2017 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug/defect, or a fix for such a problem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants