diff --git a/src/format.c b/src/format.c index e8aa31e..14306d9 100644 --- a/src/format.c +++ b/src/format.c @@ -223,15 +223,3 @@ void freeFormatElementArray(FormatElement* a, int length) { free(a); } -#ifdef FORMATTER_TEST -#include - -const char* str = "My name in Chinese is \xe7\x86\x8a\xe5\xa4\xa7\xe8\xa1\x9b, or *xiong da wei*. My favorite Greek passage is \xe1\xbc\x90\xce\xbd \xe1\xbc\x80\xcf\x81\xcf\x87\xe1\xbf\x87 \xe1\xbc\xa6\xce\xbd \xe1\xbd\x81 \xce\xbb\xe1\xbd\xb9\xce\xb3\xce\xbf\xcf\x82.^{cite}"; - -int -main() { - FormatElement* lst; - int l = formatText(str, &lst, NULL); - return 0; -} -#endif