浏览代码

Allow explicit disable for http test (eg, no server running)

hughsando 6 年之前
父节点
当前提交
b50c5ab3f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/unit/src/unit/TestMain.hx

+ 1 - 1
tests/unit/src/unit/TestMain.hx

@@ -71,7 +71,7 @@ class TestMain {
 			new TestCasts(),
 			new TestSyntaxModule(),
 			new TestNull(),
-			#if (!azure || !(php && Windows))
+			#if (!no_http && (!azure || !(php && Windows)))
 			new TestHttp(),
 			#end
 			#if !no_pattern_matching