Changed line parameter to zero-indexed

This commit is contained in:
Connor Quagliana
2016-12-15 13:45:29 -08:00
parent d5de4c8b21
commit b5cd9d6359

View File

@@ -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
} }
}; };