Fix CORS tests

This commit is contained in:
David Fowler 2015-09-02 21:33:47 -07:00
parent 7a464fd80e
commit 2c14ac34ca
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ namespace Microsoft.AspNet.Cors.Core.Test
// Assert
Assert.Equal(
"PreflightMaxAge must be greater than or equal to 0.\r\nParameter name: value",
$"PreflightMaxAge must be greater than or equal to 0.{Environment.NewLine}Parameter name: value",
exception.Message);
}

View File

@ -37,7 +37,7 @@ namespace Microsoft.AspNet.Cors.Core.Test
// Assert
Assert.Equal(
"PreflightMaxAge must be greater than or equal to 0.\r\nParameter name: value",
$"PreflightMaxAge must be greater than or equal to 0.{Environment.NewLine}Parameter name: value",
exception.Message);
}