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
809fe7a
..
570669b
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.");
}