mirror of
https://github.com/ziglang/zig.git
synced 2024-11-21 19:42:56 +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[] = {
|
||||
#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) {
|
||||
return EXIT_SUCCESS;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user