Commit b4edd0eb authored by Nick Craver's avatar Nick Craver

Fix version regexFix regex for previews

parent f798856e
......@@ -25,7 +25,7 @@ public void NullLastException()
public void CanGetVersion()
{
var libVer = ExceptionFactory.GetLibVersion();
Assert.Matches(@"2\.[0-9]+\.[0-9]+\.[0-9]+", libVer);
Assert.Matches(@"2\.[0-9]+\.[0-9]+(\.[0-9]+)?", libVer);
}
[Fact]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment