Skip to content

Commit

Permalink
Add test case with non-ascii characters in table cell
Browse files Browse the repository at this point in the history
It seems that for each non-ascii character, the column width is increased
by one additional (unnecessary) space character.
  • Loading branch information
Simon Herter committed Feb 21, 2023
1 parent d6f88c6 commit ea0fba4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ghokin/fixtures/table-with-non-ascii-characters.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Feature: A Feature
Description

Scenario: A scenario to test
Given a thing
| äöüûú |

4 changes: 4 additions & 0 deletions ghokin/transformer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,10 @@ func TestTransform(t *testing.T) {
"fixtures/escape-newline.feature",
"fixtures/escape-newline.feature",
},
{
"fixtures/table-with-non-ascii-characters.feature",
"fixtures/table-with-non-ascii-characters.feature",
},
{
"fixtures/several-scenario-following.feature",
"fixtures/several-scenario-following.feature",
Expand Down

0 comments on commit ea0fba4

Please sign in to comment.