mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Add scouts honor escape hatch for source embedding
This commit is contained in:
parent
c91b3c5006
commit
b4269930f7
547 changed files with 1516 additions and 944 deletions
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue