mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-17 09:35:37 -05:00
Address warnings and (some) nullables (#2013)
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Microsoft.SqlTools.ServiceLayer.UnitTests.SqlProjects
|
||||
DatabaseVariable = "$(DatabaseVariable)"
|
||||
};
|
||||
|
||||
Assert.Throws<ArgumentException>(() => reference.Validate(), $"Validate() for a reference with both {nameof(reference.DatabaseLiteral)} and {nameof(reference.DatabaseVariable)} should have failed");
|
||||
Assert.Throws<ArgumentException>(reference.Validate, $"Validate() for a reference with both {nameof(reference.DatabaseLiteral)} and {nameof(reference.DatabaseVariable)} should have failed");
|
||||
|
||||
// Verify that Validate() passes any other time
|
||||
reference = new AddDacpacReferenceParams() { DatabaseLiteral = "DatabaseName" };
|
||||
|
||||
Reference in New Issue
Block a user