-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(table): include margins in cell width (#401)
* test(table): modify test to show bug * fix(table): account for margin in cell height and width * test(table): add sizing tests for margins and padding * test(table): move TestSizing to another branch * chore: tidy + force truecolor in test * chore(lint): remove nil check on []string
- Loading branch information
Showing
4 changed files
with
90 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
table/testdata/TestStyleFunc/margin_and_padding_set.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
ββββββββββββββ¬βββββββββββββββββ¬ββββββββββββββ | ||
β LANGUAGE β FORMAL β INFORMAL β | ||
ββββββββββββββΌβββββββββββββββββΌββββββββββββββ€ | ||
β β β β | ||
β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β | ||
β [48;2;135;75;252m [0m[48;2;135;75;252m [0m[48;2;135;75;252mChinese[0m[48;2;135;75;252m [0m β [48;2;135;75;252m [0m[48;2;135;75;252m [0m[48;2;135;75;252mNΗn hΗo[0m[48;2;135;75;252m [0m β [48;2;135;75;252m [0m[48;2;135;75;252m [0m[48;2;135;75;252mNΗ hΗo[0m[48;2;135;75;252m [0m β | ||
β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β | ||
β β β β | ||
β β β β | ||
β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β | ||
β [48;2;135;75;252m [0m[48;2;135;75;252m [0m[48;2;135;75;252mFrench[0m[48;2;135;75;252m [0m β [48;2;135;75;252m [0m[48;2;135;75;252m [0m[48;2;135;75;252mBonjour[0m[48;2;135;75;252m [0m β [48;2;135;75;252m [0m[48;2;135;75;252m [0m[48;2;135;75;252mSalut[0m[48;2;135;75;252m [0m β | ||
β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β | ||
β β β β | ||
β β β β | ||
β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β | ||
β [48;2;135;75;252m [0m[48;2;135;75;252mJapanese[0m[48;2;135;75;252m [0m β [48;2;135;75;252m [0m[48;2;135;75;252m [0m[48;2;135;75;252mγγγ«γ‘γ―[0m[48;2;135;75;252m [0m β [48;2;135;75;252m [0m[48;2;135;75;252m [0m[48;2;135;75;252mγγ[0m[48;2;135;75;252m [0m β | ||
β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β | ||
β β β β | ||
β β β β | ||
β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β | ||
β [48;2;135;75;252m [0m[48;2;135;75;252m [0m[48;2;135;75;252mRussian[0m[48;2;135;75;252m [0m β [48;2;135;75;252m [0m[48;2;135;75;252mZdravstvuyte[0m[48;2;135;75;252m [0m β [48;2;135;75;252m [0m[48;2;135;75;252m [0m[48;2;135;75;252mPrivet[0m[48;2;135;75;252m [0m β | ||
β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β | ||
β β β β | ||
β β β β | ||
β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β | ||
β [48;2;135;75;252m [0m[48;2;135;75;252m [0m[48;2;135;75;252mSpanish[0m[48;2;135;75;252m [0m β [48;2;135;75;252m [0m[48;2;135;75;252m [0m[48;2;135;75;252mHola[0m[48;2;135;75;252m [0m β [48;2;135;75;252m [0m[48;2;135;75;252mΒΏQuΓ© tal?[0m[48;2;135;75;252m [0m β | ||
β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β [48;2;135;75;252m [0m β | ||
β β β β | ||
ββββββββββββββ΄βββββββββββββββββ΄ββββββββββββββ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters