Remove unnecessary test code.

This commit is contained in:
David Baer
2016-07-07 16:39:09 -04:00
parent cbd16b6ab1
commit 501d6c87c2

View File

@@ -223,15 +223,3 @@ void freeFormatElementArray(FormatElement* a, int length) {
free(a);
}
#ifdef FORMATTER_TEST
#include <stdio.h>
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