mirror of
https://github.com/ziglang/zig.git
synced 2024-11-22 04:10:13 +00:00
account for CRLF
This commit is contained in:
parent
4f479ac162
commit
d38cd31480
@ -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