Browse Source

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

hughsando 6 năm trước cách đây
mục cha
commit
b50c5ab3f5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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