Add scouts honor escape hatch for source embedding

This commit is contained in:
Justine Tunney committed 2020-06-15 19:01:28 -07:00
1 parent c91b3c5006
commit b4269930f7
547 files changed
+1516 -944

No files matched your search

+1
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) {
+1
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;
+5 -3
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) {