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

Make tests platform-independent #417

Merged
merged 3 commits into from
Jul 18, 2018
Merged

Conversation

stengerh
Copy link
Contributor

I had failing tests after cloning the repo on Windows. The reason was that the bash scripts in the test resources were checkout out using CRLF line endings.

The PR address this problem by enforcing platform-specific line endings where it matters via .gitattributes. A file extension is added to the bash scripts to make the .gitattributes file easier to maintain.

@codecov-io
Copy link

Codecov Report

Merging #417 into master will not change coverage.
The diff coverage is 86.92%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #417   +/-   ##
=========================================
  Coverage     89.37%   89.37%           
  Complexity      258      258           
=========================================
  Files             4        4           
  Lines          3483     3483           
  Branches        833      833           
=========================================
  Hits           3113     3113           
  Misses          176      176           
  Partials        194      194
Impacted Files Coverage Δ Complexity Δ
src/main/java/picocli/AutoComplete.java 86.92% <86.92%> (ø) 82 <82> (ø) ⬇️

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 d9c36e5...8598ba5. Read the comment docs.

@remkop remkop merged commit b1dbed8 into remkop:master Jul 18, 2018
@stengerh stengerh deleted the fix-tests-on-windows branch July 18, 2018 22:25
@remkop
Copy link
Owner

remkop commented Jul 18, 2018

Merged. Thank you!

@remkop remkop added this to the 3.4 milestone Aug 1, 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