projects
/
platform
/
core
/
csapi
/
xsf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
039d265
)
update unit test to nunit3 apis (#7543)
author
Shane Neuville
<shneuvil@microsoft.com>
Tue, 17 Sep 2019 01:26:30 +0000
(19:26 -0600)
committer
GitHub
<noreply@github.com>
Tue, 17 Sep 2019 01:26:30 +0000
(19:26 -0600)
Xamarin.Forms.Core.UnitTests/DeviceUnitTests.cs
patch
|
blob
|
history
diff --git
a/Xamarin.Forms.Core.UnitTests/DeviceUnitTests.cs
b/Xamarin.Forms.Core.UnitTests/DeviceUnitTests.cs
index 809fe7a029d6bc1b6be7bad5173f3f3fbe5d8760..570669b28cdf37f15c09249a1b938508c2c1c3d1 100644
(file)
--- a/
Xamarin.Forms.Core.UnitTests/DeviceUnitTests.cs
+++ b/
Xamarin.Forms.Core.UnitTests/DeviceUnitTests.cs
@@
-113,7
+113,7
@@
namespace Xamarin.Forms.Core.UnitTests
Assert.False(invoked, "Action invoked early.");
async Task MethodThatThrows() => await task;
- Assert.Throws
<ApplicationException>(async () => await MethodThatThrows()
);
+ Assert.Throws
Async<ApplicationException>(MethodThatThrows
);
Assert.True(invoked, "Action not invoked.");
}