mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix runtime module test
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
import runtime
|
||||
|
||||
fn test_nr_cpus() {
|
||||
$if linux {
|
||||
nr_cpus := runtime.nr_cpus()
|
||||
println(nr_cpus)
|
||||
assert nr_cpus > 0
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user