diff --git a/acceptance/.gitattributes b/acceptance/.gitattributes new file mode 100644 index 0000000000..8cec723714 --- /dev/null +++ b/acceptance/.gitattributes @@ -0,0 +1,5 @@ +# We should always treat new lines in text files acceptance tests in windows as \n. +# This is important because the characters itself can be semantically important in tests. +# For example, an additional \r character in windows changes the upload payload if you are +# uploading the file's content to a workspace. +*.txt text eol=lf diff --git a/acceptance/selftest/record_cloud/workspace-file-io/test.toml b/acceptance/selftest/record_cloud/workspace-file-io/test.toml index fa35335247..2df14096e4 100644 --- a/acceptance/selftest/record_cloud/workspace-file-io/test.toml +++ b/acceptance/selftest/record_cloud/workspace-file-io/test.toml @@ -1,9 +1,4 @@ -# hello, world\n base64 encoded in unix +# hello, world\n base64 encoded [[Repls]] Old = "aGVsbG8sIHdvcmxkCg==" New = "[HELLO-WORLD]" - -# hello, world\n base64 encoded in windows -[[Repls]] -Old = "aGVsbG8sIHdvcmxkDQo=" -New = "[HELLO-WORLD]"