-
Notifications
You must be signed in to change notification settings - Fork 681
Add binary_display configuration option
#1512
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
Conversation
e0676ab to
fd133c2
Compare
binary_as_text configuration option
fd133c2 to
8dde329
Compare
|
Maybe the configuration option should be non-boolean, like binary_display = hexEdit: updated the PR to be a non-boolean |
8dde329 to
f4fe363
Compare
binary_as_text configuration optionbinary_display configuration option
|
Got some tests that should work: |
7c6b7f8 to
6b9f630
Compare
This is the rough equivalent of the vendor --skip-binary-as-text CLI option, which has the effect of reversing * #1483 when set to "utf8".
6b9f630 to
2cec689
Compare
|
When I incorporate the tests, the new tests pass, but then the and only in CI, not on my local. |
Yeah the whole test suite works fine for me as well. Weird! I'll look at it more later to see if I can find anything. No idea how it would affect other tests though, especially the entirely different test suite. |
Testing this out on another PR, and it is working. I based my branch off of main, so guessing there is some combo of other stuff your branch has (or doesn't have). See my PR for the diffs: I did notice that the mycli/myclirc has the option Edit: Don't think I had your latest changes on my last test, so I did it again (less diffs this time), but tests all passed again. So seems something is/was going on when you pushed the tests the first time. |
|
Going to merge and solve the tests later. |
Description
This is the rough equivalent of the vendor
--skip-binary-as-textCLI option, which has the effect of reversingwhen set to "utf8".
I'm still not sure how to write tests for non-default myclirc options, though there may have been a recent example.Tests incorporated thanks to @scottnemes .Fixes #1511.
Checklist
changelog.mdfile.AUTHORSfile (or it's already there).