account for CRLF

This commit is contained in:
GalaxyShard 2024-10-29 22:46:21 -04:00
parent 4f479ac162
commit d38cd31480
No known key found for this signature in database
GPG Key ID: E114076F6D3524FE
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
This text is the contents of foo.data
This text is the contents of foo.data

View File

@ -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 {