Files
wren/test/os/platform/is_posix.wren
T
Josh Goebel 857d11fc73 test: add platform name validation and version component count checks
Extend cross-platform tests to verify Platform.name returns one of seven known
OS strings and assert Process.version splits into exactly three numeric
components, while fixing missing trailing newline in isPosix test file.
2021-04-28 21:45:50 +00:00

5 lines
216 B
JavaScript
Vendored

import "os" for Platform
// Can't test for certain values since this test is cross-platform, but we can
// at least make sure it is callable and returns a bool.
System.print(Platform.isPosix is Bool) // expect: true