Add scouts honor escape hatch for source embedding

This commit is contained in:
Justine Tunney 2020-06-15 19:01:28 -07:00
parent c91b3c5006
commit b4269930f7
547 changed files with 1516 additions and 944 deletions

View file

@ -19,6 +19,7 @@
*/
#include "libc/bits/bits.h"
#include "libc/str/str.h"
#include "libc/str/tpdecode.h"
#include "libc/testlib/testlib.h"
TEST(getutf16, testNul) {

View file

@ -25,6 +25,7 @@
#include "libc/limits.h"
#include "libc/runtime/gc.h"
#include "libc/str/str.h"
#include "libc/str/tpdecode.h"
#include "libc/testlib/testlib.h"
wint_t wc;

View file

@ -21,6 +21,7 @@
#include "libc/bits/progn.h"
#include "libc/bits/safemacros.h"
#include "libc/str/str.h"
#include "libc/str/tpencode.h"
#include "libc/testlib/testlib.h"
char buf[8];
@ -36,9 +37,10 @@ TEST(tpencode, testSpace) {
}
TEST(tpencode, testGlyph) {
ASSERT_BINEQ(u"→", PROGN(ASSERT_EQ(3, tpencode(buf, 8, u'', false)), buf));
ASSERT_BINEQ(u"→",
PROGN(ASSERT_EQ(3, (tpencode)(buf, 8, u'', false)), buf));
ASSERT_EQ(3, tpencode(buf, 8, u'', false));
ASSERT_BINEQ(u"→", buf);
ASSERT_EQ(3, (tpencode)(buf, 8, u'', false));
ASSERT_BINEQ(u"→", buf);
}
TEST(tpencode, testMathematicalNotMuhPolicyDrivenBehavior_negativeOne) {