Files
wren/test/os/platform/is_posix.wren
Bob Nystrom 06731f66d4 Add a Platform class.
- Rename the "process" module to "os".
- Add Platform to it.
- Static "name" method.
- Static "isPosix" method.
- Docs and tests!
2016-05-21 12:44:17 -07:00

6 lines
217 B
Plaintext

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