Skip to content

Add test case for sed on empty file#904

Merged
nfischer merged 1 commit intoshelljs:masterfrom
wyardley:wyardley-sed-empty-test
Nov 13, 2018
Merged

Add test case for sed on empty file#904
nfischer merged 1 commit intoshelljs:masterfrom
wyardley:wyardley-sed-empty-test

Conversation

@wyardley
Copy link
Copy Markdown
Contributor

As discussed as an aside in #900, add test case with an empty file.

As discussed in #900, when sed runs on an empty file, make sure we don't add a
trailing newline, and still exit 0
@wyardley
Copy link
Copy Markdown
Contributor Author

Not sure about the Appveyor failure - saw it on a few other PRs. force-pushing w/ a comment change didn't seem to fix it tho. Seems unrelated

@nfischer
Copy link
Copy Markdown
Member

Yeah, appveyor has been having problems since #896.

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #904 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #904   +/-   ##
=======================================
  Coverage   97.32%   97.32%           
=======================================
  Files          34       34           
  Lines        1269     1269           
=======================================
  Hits         1235     1235           
  Misses         34       34

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 6b3c7b1...0f2df9f. Read the comment docs.

@nfischer nfischer merged commit db317bf into shelljs:master Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants