mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-17 02:51:45 -05:00
Changed line parameter to zero-indexed
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
// Copyright (c) Microsoft. All rights reserved.
|
// Copyright (c) Microsoft. All rights reserved.
|
||||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||||
//
|
//
|
||||||
|
#define LIVE_CONNECTION_TESTS
|
||||||
|
|
||||||
using Microsoft.SqlServer.Management.SqlParser.Parser;
|
using Microsoft.SqlServer.Management.SqlParser.Parser;
|
||||||
using Microsoft.SqlTools.ServiceLayer.Connection;
|
using Microsoft.SqlTools.ServiceLayer.Connection;
|
||||||
@@ -303,7 +304,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Test.LanguageServer
|
|||||||
},
|
},
|
||||||
Position = new Position
|
Position = new Position
|
||||||
{
|
{
|
||||||
Line = 1,
|
Line = 0,
|
||||||
Character = queryWithFunction.Length
|
Character = queryWithFunction.Length
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user