diff options
author | Alan McGovern <alan@xamarin.com> | 2013-07-29 22:59:35 +0400 |
---|---|---|
committer | Alan McGovern <alan@xamarin.com> | 2013-07-29 22:59:35 +0400 |
commit | bec0b7f5ed2bd908adf39be0d910a4b413a6df98 (patch) | |
tree | 8512ca938ef934f0ae0203aa3dedbc11a92a3be7 | |
parent | eed5c806ad2d52cc1c58cdf62ad0c6b22b0f7de8 (diff) |
Ensure we always propagate the right return value
-rwxr-xr-x | src/framework/Internal/Reflect.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/framework/Internal/Reflect.cs b/src/framework/Internal/Reflect.cs index da4d1d4..d526ae8 100755 --- a/src/framework/Internal/Reflect.cs +++ b/src/framework/Internal/Reflect.cs @@ -234,8 +234,7 @@ namespace NUnit.Framework.Internal if (result is System.Threading.Tasks.Task) ((System.Threading.Tasks.Task) result).Wait (); - else - return result; + return result; } catch(Exception e) { |