Skip to content

Commit

Permalink
Fix bootstrapper test broken by fsprojects#2100
Browse files Browse the repository at this point in the history
The BypassList property contains an array of regular expressions.
  • Loading branch information
juergenhoetzel committed Jan 2, 2017
1 parent 13780b0 commit d75040f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Paket.Bootstrapper.Tests/EnvWebProxyShould.cs
Expand Up @@ -137,8 +137,8 @@ public void Dispose()
Assert.That(webProxy.Address, Is.EqualTo(new Uri("http://proxy.local:8080")));
Assert.IsTrue(webProxy.BypassProxyOnLocal);
Assert.That(webProxy.BypassList.Length, Is.EqualTo(2));
Assert.That(webProxy.BypassList[0], Is.EqualTo(".local"));
Assert.That(webProxy.BypassList[1], Is.EqualTo("127.0.0.1"));
Assert.That(".local", Does.Match(webProxy.BypassList[0]));
Assert.That("127.0.0.1", Does.Match(webProxy.BypassList[1]));
Assert.IsNull(webProxy.Credentials);
}
}
Expand Down

0 comments on commit d75040f

Please sign in to comment.