فهرست منبع

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