Skip to content

Commit

Permalink
fix test os detection
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Sep 6, 2024
1 parent 8fd163b commit 3b2dab8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/functions/FileSetAccessMode.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

}
2 changes: 1 addition & 1 deletion test/tickets/LDEV5034.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

}

0 comments on commit 3b2dab8

Please sign in to comment.