From 4d4da226697adc65b81167855eef2c732b9e99dc Mon Sep 17 00:00:00 2001 From: SnorlaxAssist <57375992+SnorlaxAssist@users.noreply.github.com> Date: Mon, 25 Sep 2023 12:43:23 -0400 Subject: [PATCH] Update files.luau --- tests/serde/compression/files.luau | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/serde/compression/files.luau b/tests/serde/compression/files.luau index 71266f95..8d41492e 100644 --- a/tests/serde/compression/files.luau +++ b/tests/serde/compression/files.luau @@ -9,8 +9,6 @@ type Test = { Target: string, } -local isWindows = process.os == "windows"; - local TESTS: { Test } = { { Format = "brotli", @@ -39,11 +37,6 @@ for _, test in TESTS do local source = fs.readFile(test.Source) local target = fs.readFile(test.Target) - if isWindows then - -- Windows: CRLF -> LF - source = string.gsub(source, "\r\n", "\n", #source - 2); - end - local success, compressed = pcall(serde.compress, test.Format, source) if not success then stdio.ewrite(