mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
fixed batch parser test (#236)
This commit is contained in:
@@ -113,18 +113,9 @@ namespace Microsoft.SqlTools.ServiceLayer.IntegrationTests.BatchParser
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void CopyToOutput(string sourceDirectory, string filename)
|
|
||||||
{
|
|
||||||
File.Copy(Path.Combine(sourceDirectory, filename), filename, true);
|
|
||||||
FileUtilities.SetFileReadWrite(filename);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
public void BatchParserTest()
|
public void BatchParserTest()
|
||||||
{
|
{
|
||||||
CopyToOutput(FilesLocation, "TS-err-cycle1.txt");
|
|
||||||
CopyToOutput(FilesLocation, "cycle2.txt");
|
|
||||||
|
|
||||||
Start("err-blockComment");
|
Start("err-blockComment");
|
||||||
Start("err-blockComment2");
|
Start("err-blockComment2");
|
||||||
Start("err-varDefinition");
|
Start("err-varDefinition");
|
||||||
|
|||||||
Reference in New Issue
Block a user