mirror of
https://github.com/ziglang/zig.git
synced 2024-11-22 04:06:30 +00:00
account for CRLF
This commit is contained in:
parent
4f479ac162
commit
d38cd31480
@ -1 +1 @@
|
|||||||
This text is the contents of foo.data
|
This text is the contents of foo.data
|
@ -6,7 +6,7 @@ int main(void) {
|
|||||||
const char data[] = {
|
const char data[] = {
|
||||||
#embed <foo.data>
|
#embed <foo.data>
|
||||||
};
|
};
|
||||||
const char *expected = "This text is the contents of foo.data\n";
|
const char *expected = "This text is the contents of foo.data";
|
||||||
if (sizeof data == strlen(expected) && memcmp(data, expected, sizeof data) == 0) {
|
if (sizeof data == strlen(expected) && memcmp(data, expected, sizeof data) == 0) {
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user