mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-22 01:25:44 -05:00
Make nullable warnings a per file opt-in (#1842)
* Make nullable warnings a per file opt-in * Remove unneeded compiler directives * Remove compiler directive for User Data
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
//
|
||||
|
||||
#nullable disable
|
||||
|
||||
using System;
|
||||
using System.Data.Common;
|
||||
using System.Linq;
|
||||
@@ -296,8 +298,8 @@ namespace Microsoft.SqlTools.ServiceLayer.UnitTests.EditData
|
||||
string[] setCols = updateMatch.Groups[2].Value.Split(", ");
|
||||
Assert.AreEqual(3, setCols.Length);
|
||||
Assert.That(setCols, Has.All.Match(@".+ = @Value\d+_\d+"), "Set columns match");
|
||||
|
||||
// Output table name matches
|
||||
|
||||
// Output table name matches
|
||||
Assert.That(updateMatch.Groups[4].Value, Does.StartWith("Update"));
|
||||
Assert.That(updateMatch.Groups[4].Value, Does.EndWith("Output"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user