-
Notifications
You must be signed in to change notification settings - Fork 243
test(tables): update tests after changes on lipgloss #394
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
|
Just added a commit that fixes the issue I reported above |
|
Thank you @bashbunni! I disabled content wrapping, which ensures we're having the same behavior as before, but with the fix of showing the ellipsis now as opposed to just cutting the content. |
|
In However, it seems the ANSI escape sequences aren't closing properly with wrapped content. I'm going to double check with a test on the Lip Gloss side to see if this is an issue with the new wrapping behaviour or not PS: I updated some golden files based on outputs from v0.7.0 when we were using the tablewriter package https://github.com/olekukonko/tablewriter. We can update the golden files once we sort out this style wrapping stuff Side note: I'm not sure if glamour is doing anything with the |
|
After update:
@aymanbagabas A potential improvement to |
Could you expand on this? One issue I see is stripping white space characters at the end and beginning of the wrapped content. |
|
@aymanbagabas I meant about the fact that some of the lines are starting with I went to write a test case for this on |









This PR is basically to just update the tests to make them pass, as there are some small differences with the new table work.
Before merging:
go.modinstead of a specific commit.