소스 검색

Exclude test with "await" in platforms that don't have it

Donna Malayeri 12 년 전
부모
커밋
bcd0859884
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Ix.NET/Source/Tests/Tests.Creation.cs

+ 2 - 0
Ix.NET/Source/Tests/Tests.Creation.cs

@@ -40,6 +40,7 @@ namespace Tests
             Assert.IsTrue(hot);
         }
 
+#if HAS_AWAIT
         [TestMethod]
         public void CreateYield()
         {
@@ -58,6 +59,7 @@ namespace Tests
 
             Assert.AreEqual(j, 10);
         }
+#endif 
 
         private static IEnumerator<int> MyEnumerator()
         {