diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-01-31 21:24:15 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-01-31 22:23:00 +0300 |
commit | 16b933f8832ec649eeda8fe3b960d19d0d10d828 (patch) | |
tree | a1863c37b54111c9268c031de7de62dcc02d2e13 /mcs/class/System/Test | |
parent | e76fa87fe0eabfd87f2c786f85e416c2ce6b77da (diff) |
[System] Fix AsyncOperationManager test that fails on the testing_full_aot profile
It seems the first assert only applies to XI/XM, so use those
in the condition instead of the profiles where it doesn't apply.
Diffstat (limited to 'mcs/class/System/Test')
-rw-r--r-- | mcs/class/System/Test/System.ComponentModel/AsyncOperationManagerTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System/Test/System.ComponentModel/AsyncOperationManagerTest.cs b/mcs/class/System/Test/System.ComponentModel/AsyncOperationManagerTest.cs index 2be8d1c0141..84f7572a9d3 100644 --- a/mcs/class/System/Test/System.ComponentModel/AsyncOperationManagerTest.cs +++ b/mcs/class/System/Test/System.ComponentModel/AsyncOperationManagerTest.cs @@ -26,7 +26,7 @@ namespace MonoTests.System.ComponentModel SynchronizationContext sc1 = new SynchronizationContext ();
SynchronizationContext sc2 = new SynchronizationContext ();
-#if MOBILE && !MONODROID && !WIN_PLATFORM
+#if MONOTOUCH || XAMMAC
Assert.IsNotNull (SynchronizationContext.Current, "A1");
#else
Assert.IsNull (SynchronizationContext.Current, "A1");
|