Correct more typos (#500)

This commit is contained in:
Jared Miller 2022-07-21 23:53:30 -04:00 committed by GitHub
parent 8b469389f6
commit d4000bb8f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 39 additions and 39 deletions

View file

@ -47,7 +47,7 @@ TEST(fcntl_getfl, testRemembersAccessMode) {
TEST(fcntl_setfl, testChangeAppendStatus) {
if (IsWindows()) {
// no obivous way to do fcntl(fd, F_SETFL, O_APPEND)
// no obvious way to do fcntl(fd, F_SETFL, O_APPEND)
return;
}
int fd;

View file

@ -606,7 +606,7 @@ BENCH(memcmp, bench) {
volatile char *copy = gc(strdup(kHyperion));
EZBENCH2("memcmp big", donothing,
EXPROPRIATE(memcmp(kHyperion, copy, kHyperionSize)));
copy = gc(strdup("tought little ship"));
copy = gc(strdup("tough little ship"));
EZBENCH2("memcmp 19", donothing,
EXPROPRIATE(memcmp("tought little ship", copy, 19)));
EXPROPRIATE(memcmp("tough little ship", copy, 19)));
}

View file

@ -108,7 +108,7 @@ TEST(ParseHttpRange, testInvalidRange) {
EXPECT_EQ(0, length);
}
TEST(ParseHttpRange, testOverflow_duringIntepretation_doesntSetRanges) {
TEST(ParseHttpRange, testOverflow_duringInterpretation_doesntSetRanges) {
long start, length;
const char *s = "bytes=99-9223372036854775808";
EXPECT_FALSE(ParseHttpRange(s, strlen(s), 100, &start, &length));

View file

@ -257,7 +257,7 @@ TEST(ParseUrl, testEmptyParams_absentCanBeDiscerned) {
ASSERT_NE(NULL, h.params.p);
}
TEST(ParseUrl, testWeirdAmps_areReprodicible) {
TEST(ParseUrl, testWeirdAmps_areReproducible) {
struct Url h;
gc(ParseUrl("?&&", -1, &h));
gc(h.params.p);

View file

@ -217,6 +217,6 @@
(lambda (x)
(lambda ()
x))))))
((error '(enclosed memory failed to propogate upward))))
((error '(enclosed memory failed to propagate upward))))
(ignore))