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

Ansi codes now respect indentation #46

Merged
merged 2 commits into from
Oct 8, 2019

Conversation

lread
Copy link
Contributor

@lread lread commented Oct 6, 2019

Bumped fipp to 0.6.21 to pick up brandonbloom/fipp#66
which resolves #44.

To verify, beefed up ansi unit tests to include a test that almost matches
example in puget README and a test that clearly shows indentation.

Of note: While developing these tests I used kaocha because it has excellent
expected vs actual diff reporting. Because kaocha uses puget, I figured it might
not be the best idea to use kaocha for puget testing and therefore have not
proposed to include it.

lread added 2 commits October 6, 2019 13:47
Bumped fipp to 0.6.21 to pick up brandonbloom/fipp#66
which resolves greglook#44.

To verify, beefed up ansi unit tests to include a test that almost matches
example in puget README and a test that clearly shows indentation.

Of note: While developing these tests I used kaocha because it has excellent
expected vs actual diff reporting. Because kaocha uses puget, I figured it might
not be the best idea to use kaocha for puget testing and therefore have not
proposed to include it.
@codecov-io
Copy link

Codecov Report

Merging #46 into develop will increase coverage by 0.23%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #46      +/-   ##
===========================================
+ Coverage     99.3%   99.53%   +0.23%     
===========================================
  Files            5        5              
  Lines          431      431              
  Branches         1        1              
===========================================
+ Hits           428      429       +1     
+ Misses           2        1       -1     
  Partials         1        1
Impacted Files Coverage Δ
src/puget/color/ansi.clj 100% <0%> (+4.76%) ⬆️

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 d438931...d9ed9b8. Read the comment docs.

@greglook greglook self-assigned this Oct 8, 2019
Copy link
Owner

@greglook greglook left a comment

Choose a reason for hiding this comment

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

Nice, thank you for adding tests to exercise this. 👍

@greglook greglook merged commit 2060378 into greglook:develop Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

colors start at beginning of line instead of beginning of element
3 participants