Skip to content

Commit

Permalink
StyleCop warning fixes. No functional changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Mar 26, 2015
1 parent d1bd270 commit 6c9ee2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotnet/src/support/Extensions/WebDriverExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static T ExecuteJavaScript<T>(this IWebDriver driver, string script, para
}

object result = executor.ExecuteScript(script, args);
if (typeof (T).IsInstanceOfType(result) == false)
if (typeof(T).IsInstanceOfType(result) == false)
{
throw new WebDriverException("Script returned a value, but the result could not be cast to the desired type");
}
Expand Down

0 comments on commit 6c9ee2f

Please sign in to comment.