Fix CORS tests
This commit is contained in:
parent
7a464fd80e
commit
2c14ac34ca
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue