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.
5 lines
216 B
JavaScript
Vendored
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
|