summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/definition/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/definition/init.lua b/test/definition/init.lua
index 78170e0e..85bcd5d5 100644
--- a/test/definition/init.lua
+++ b/test/definition/init.lua
@@ -36,6 +36,7 @@ end
function TEST(script)
files.removeAll()
+ script = script:gsub('\n', '\r\n')
local target = catch_target(script)
local start = script:find('<?', 1, true)
local finish = script:find('?>', 1, true)