Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ctest/templates/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ CTEST_EXTERN {{ item.c_ty }} ctest_roundtrip__{{ item.id }}(
int i = 0;
for (i = 0; i < size; ++i) {
// We skip padding bytes in both Rust and C because writing to it is undefined.
// Instead we just make sure the the placement of the padding bytes remains the same.
// Instead we just make sure the placement of the padding bytes remains the same.
if (is_padding_byte[i]) { continue; }
value_bytes[i] = p[i];
// After we check that the pattern remained unchanged from Rust to C, we invert the pattern
Expand Down
2 changes: 1 addition & 1 deletion ctest/tests/input/hierarchy.out.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ CTEST_EXTERN in6_addr ctest_roundtrip__in6_addr(
int i = 0;
for (i = 0; i < size; ++i) {
// We skip padding bytes in both Rust and C because writing to it is undefined.
// Instead we just make sure the the placement of the padding bytes remains the same.
// Instead we just make sure the placement of the padding bytes remains the same.
if (is_padding_byte[i]) { continue; }
value_bytes[i] = p[i];
// After we check that the pattern remained unchanged from Rust to C, we invert the pattern
Expand Down
4 changes: 2 additions & 2 deletions ctest/tests/input/macro.out.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ CTEST_EXTERN struct VecU8 ctest_roundtrip__VecU8(
int i = 0;
for (i = 0; i < size; ++i) {
// We skip padding bytes in both Rust and C because writing to it is undefined.
// Instead we just make sure the the placement of the padding bytes remains the same.
// Instead we just make sure the placement of the padding bytes remains the same.
if (is_padding_byte[i]) { continue; }
value_bytes[i] = p[i];
// After we check that the pattern remained unchanged from Rust to C, we invert the pattern
Expand All @@ -161,7 +161,7 @@ CTEST_EXTERN struct VecU16 ctest_roundtrip__VecU16(
int i = 0;
for (i = 0; i < size; ++i) {
// We skip padding bytes in both Rust and C because writing to it is undefined.
// Instead we just make sure the the placement of the padding bytes remains the same.
// Instead we just make sure the placement of the padding bytes remains the same.
if (is_padding_byte[i]) { continue; }
value_bytes[i] = p[i];
// After we check that the pattern remained unchanged from Rust to C, we invert the pattern
Expand Down
10 changes: 5 additions & 5 deletions ctest/tests/input/simple.out.with-renames.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ CTEST_EXTERN Byte ctest_roundtrip__Byte(
int i = 0;
for (i = 0; i < size; ++i) {
// We skip padding bytes in both Rust and C because writing to it is undefined.
// Instead we just make sure the the placement of the padding bytes remains the same.
// Instead we just make sure the placement of the padding bytes remains the same.
if (is_padding_byte[i]) { continue; }
value_bytes[i] = p[i];
// After we check that the pattern remained unchanged from Rust to C, we invert the pattern
Expand All @@ -274,7 +274,7 @@ CTEST_EXTERN volatile_char ctest_roundtrip__volatile_char(
int i = 0;
for (i = 0; i < size; ++i) {
// We skip padding bytes in both Rust and C because writing to it is undefined.
// Instead we just make sure the the placement of the padding bytes remains the same.
// Instead we just make sure the placement of the padding bytes remains the same.
if (is_padding_byte[i]) { continue; }
value_bytes[i] = p[i];
// After we check that the pattern remained unchanged from Rust to C, we invert the pattern
Expand All @@ -301,7 +301,7 @@ CTEST_EXTERN enum Color ctest_roundtrip__Color(
int i = 0;
for (i = 0; i < size; ++i) {
// We skip padding bytes in both Rust and C because writing to it is undefined.
// Instead we just make sure the the placement of the padding bytes remains the same.
// Instead we just make sure the placement of the padding bytes remains the same.
if (is_padding_byte[i]) { continue; }
value_bytes[i] = p[i];
// After we check that the pattern remained unchanged from Rust to C, we invert the pattern
Expand All @@ -328,7 +328,7 @@ CTEST_EXTERN struct Person ctest_roundtrip__Person(
int i = 0;
for (i = 0; i < size; ++i) {
// We skip padding bytes in both Rust and C because writing to it is undefined.
// Instead we just make sure the the placement of the padding bytes remains the same.
// Instead we just make sure the placement of the padding bytes remains the same.
if (is_padding_byte[i]) { continue; }
value_bytes[i] = p[i];
// After we check that the pattern remained unchanged from Rust to C, we invert the pattern
Expand All @@ -355,7 +355,7 @@ CTEST_EXTERN union Word ctest_roundtrip__Word(
int i = 0;
for (i = 0; i < size; ++i) {
// We skip padding bytes in both Rust and C because writing to it is undefined.
// Instead we just make sure the the placement of the padding bytes remains the same.
// Instead we just make sure the placement of the padding bytes remains the same.
if (is_padding_byte[i]) { continue; }
value_bytes[i] = p[i];
// After we check that the pattern remained unchanged from Rust to C, we invert the pattern
Expand Down
2 changes: 1 addition & 1 deletion ctest/tests/input/simple.out.with-skips.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ CTEST_EXTERN volatile_char ctest_roundtrip__volatile_char(
int i = 0;
for (i = 0; i < size; ++i) {
// We skip padding bytes in both Rust and C because writing to it is undefined.
// Instead we just make sure the the placement of the padding bytes remains the same.
// Instead we just make sure the placement of the padding bytes remains the same.
if (is_padding_byte[i]) { continue; }
value_bytes[i] = p[i];
// After we check that the pattern remained unchanged from Rust to C, we invert the pattern
Expand Down
Loading