Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • util.c

    r7bf51d5 r3e8ff1e  
    789789              !strcmp("meep", skiptokens("foo 'bar quux' meep", 2)));
    790790
     791  FAIL_UNLESS("expand_tabs 1",
     792              !strcmp("        hi", owl_text_expand_tabs("\thi")));
     793
     794  FAIL_UNLESS("expand_tabs 2",
     795              !strcmp("        hi\nword    tab", owl_text_expand_tabs("\thi\nword\ttab")));
     796
     797  FAIL_UNLESS("expand_tabs 3",
     798              !strcmp("                2 tabs", owl_text_expand_tabs("\t\t2 tabs")));
     799
    791800  /* if (numfailed) printf("*** WARNING: failures encountered with owl_util\n"); */
    792801  printf("# END testing owl_util (%d failures)\n", numfailed);
Note: See TracChangeset for help on using the changeset viewer.