Changeset f7cd7c9 for tester.c


Ignore:
Timestamp:
Jan 9, 2010, 4:02:47 PM (11 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
366558f
Parents:
8a16704
git-author:
Anders Kaseorg <andersk@mit.edu> (01/09/10 03:19:26)
git-committer:
Anders Kaseorg <andersk@mit.edu> (01/09/10 16:02:47)
Message:
owl_text_expand_tabs, meet multibyte and wide characters.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester.c

    ra999d9e rf7cd7c9  
    7474  FAIL_UNLESS("expand_tabs 3",
    7575              !strcmp("                2 tabs", owl_text_expand_tabs("\t\t2 tabs")));
     76  FAIL_UNLESS("expand_tabs 4",
     77              !strcmp("α       ααααααα!        ", owl_text_expand_tabs("α\tααααααα!\t")));
     78  FAIL_UNLESS("expand_tabs 5",
     79              !strcmp("A      AAA!!        ", owl_text_expand_tabs("A\tAAA!!\t")));
    7680
    7781  FAIL_UNLESS("skiptokens 1",
Note: See TracChangeset for help on using the changeset viewer.