Skip to content

Commit 0524921

Browse files
committed
AOT不支持HttpApiFactory单元测试
1 parent 6a04e8d commit 0524921

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

WebApiClient.Test/HttpApiFactoryTest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System;
1+
#if JIT
2+
using System;
23
using System.Collections.Generic;
34
using System.Net.Http;
45
using System.Text;
@@ -67,3 +68,4 @@ public interface IMyApi : IHttpApi
6768
}
6869
}
6970
}
71+
#endif

0 commit comments

Comments
 (0)