Changeset 42ee1be for tester.c


Ignore:
Timestamp:
Mar 24, 2011, 12:48:25 AM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
e56303f
Parents:
4479497
git-author:
Anders Kaseorg <andersk@mit.edu> (02/12/11 00:04:30)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/24/11 00:48:25)
Message:
Reimplement owl_text_substitute with g_strsplit and g_strjoinv

(I have no idea what the rambling about backslash quoting was about.)

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

Legend:

Unmodified
Added
Removed
  • tester.c

    r010a951 r42ee1be  
    137137    } while (0)
    138138
    139   CHECK_STR_AND_FREE("owl_util_substitute 1", "foo",
    140                      owl_text_substitute("foo", "", "Y"));
    141139  CHECK_STR_AND_FREE("owl_text_substitute 2", "fYZYZ",
    142140                     owl_text_substitute("foo", "o", "YZ"));
Note: See TracChangeset for help on using the changeset viewer.