Skip to content

Commit

Permalink
Test change emoji width
Browse files Browse the repository at this point in the history
The change in 0828133 means that the width of emoji are used. I think the issue unicode-rs/unicode-width#4 means that the wrong width is being calculated for emoji, and there happens to be one in the example.
  • Loading branch information
ogham committed May 17, 2017
1 parent c57f480 commit 43bc16d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xtests/file_names
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ ansi: [\u{1b}[34mblue\u{1b}[0m] form-feed: [\u{c}]
ascii: hello invalid-utf8-1: [�] new-line: [\n]
backspace: [\u{8}] invalid-utf8-2: [�(] return: [\r]
bell: [\u{7}] invalid-utf8-3: [�(] tab: [\t]
emoji: [🆒] invalid-utf8-4: [�(�(] utf-8: pâté
emoji: [🆒] invalid-utf8-4: [�(�(] utf-8: pâté
escape: [\u{1b}] links vertical-tab: [\u{b}]
2 changes: 1 addition & 1 deletion xtests/file_names_R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ansi: [\u{1b}[34mblue\u{1b}[0m] form-feed: [\u{c}]
ascii: hello invalid-utf8-1: [�] new-line: [\n]
backspace: [\u{8}] invalid-utf8-2: [�(] return: [\r]
bell: [\u{7}] invalid-utf8-3: [�(] tab: [\t]
emoji: [🆒] invalid-utf8-4: [�(�(] utf-8: pâté
emoji: [🆒] invalid-utf8-4: [�(�(] utf-8: pâté
escape: [\u{1b}] links vertical-tab: [\u{b}]

/testcases/file-names/links:
Expand Down
2 changes: 1 addition & 1 deletion xtests/file_names_x
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ansi: [\u{1b}[34mblue\u{1b}[0m] ascii: hello backspace: [\u{8}]
bell: [\u{7}] emoji: [🆒] escape: [\u{1b}]
bell: [\u{7}] emoji: [🆒] escape: [\u{1b}]
form-feed: [\u{c}] invalid-utf8-1: [�] invalid-utf8-2: [�(]
invalid-utf8-3: [�(] invalid-utf8-4: [�(�(] links
new-line-dir: [\n] new-line: [\n] return: [\r]
Expand Down

0 comments on commit 43bc16d

Please sign in to comment.