prove (#if target.threaded ...) is still broken
This commit is contained in:
@@ -379,6 +379,14 @@ class BasicTestCase extends Test {
|
||||
function testArraysToVariadic() {
|
||||
_testArraysToVariadic();
|
||||
}
|
||||
|
||||
function testThreadingSupportCheck() {
|
||||
#if target.threaded
|
||||
Assert.isTrue(_hasThreadSupport());
|
||||
#else
|
||||
Assert.isFalse(_hasThreadSupport());
|
||||
#end
|
||||
}
|
||||
}
|
||||
|
||||
class BasicObject {
|
||||
|
@@ -721,4 +721,9 @@ From:[(assert false (+ \"false \" \"should \" \"have \" \"been \" \"true\"))]" m
|
||||
(assertThrows (>= a))
|
||||
|
||||
)
|
||||
(Assert.pass))
|
||||
(Assert.pass))
|
||||
|
||||
(function _hasThreadSupport []
|
||||
(#if target.threaded
|
||||
true
|
||||
false))
|
Reference in New Issue
Block a user