From 3b2dab8a1f90e903180c693578c242dde253378c Mon Sep 17 00:00:00 2001 From: Zac Spitzer Date: Fri, 6 Sep 2024 12:59:20 +0200 Subject: [PATCH] fix test os detection --- test/functions/FileSetAccessMode.cfc | 2 +- test/tickets/LDEV5034.cfc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functions/FileSetAccessMode.cfc b/test/functions/FileSetAccessMode.cfc index ff5fa2a3f8..77c95dd1bd 100644 --- a/test/functions/FileSetAccessMode.cfc +++ b/test/functions/FileSetAccessMode.cfc @@ -79,7 +79,7 @@ component extends="org.lucee.cfml.test.LuceeTestCase" { } private function isNotUnix(){ - return (server.os.name == "windows"); + return (server.os.name contains "windows"); } } diff --git a/test/tickets/LDEV5034.cfc b/test/tickets/LDEV5034.cfc index e329274d71..7a8a9e489c 100644 --- a/test/tickets/LDEV5034.cfc +++ b/test/tickets/LDEV5034.cfc @@ -101,7 +101,7 @@ component extends="org.lucee.cfml.test.LuceeTestCase" { } private function isNotUnix(){ - return (server.os.name == "windows"); + return (server.os.name contains "windows"); } }