mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-19 12:59:30 -07:00
Remove always-false UITest check (#1904)
startUpTimeout can never be null. It is impossible. Fixes build warning
This commit is contained in:
parent
095a81fecc
commit
b06e4403db
1 changed files with 0 additions and 4 deletions
|
@ -45,10 +45,6 @@ namespace CalculatorUITestFramework
|
||||||
|
|
||||||
public WindowsDriverServiceBuilder WithStartUpTimeOut(TimeSpan startUpTimeout)
|
public WindowsDriverServiceBuilder WithStartUpTimeOut(TimeSpan startUpTimeout)
|
||||||
{
|
{
|
||||||
if (startUpTimeout == null)
|
|
||||||
{
|
|
||||||
throw new ArgumentNullException("A startup timeout should not be NULL");
|
|
||||||
}
|
|
||||||
this.StartUpTimeout = startUpTimeout;
|
this.StartUpTimeout = startUpTimeout;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue