test/integration: correct lint flags
lint flags should be an array of strings.
VS Code will warn and reject invalid settings,
but in test, we pass arbitrary values and can
trigger a type error.
Change-Id: I82e32ca30897e62b2f15ddd050d45b853f859250
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/245317
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
diff --git a/test/integration/extension.test.ts b/test/integration/extension.test.ts
index 93063f7..d16d35b 100644
--- a/test/integration/extension.test.ts
+++ b/test/integration/extension.test.ts
@@ -375,7 +375,7 @@
lintOnSave: { value: 'package' },
// simulate a long running lint process by sleeping for a couple seconds
lintTool: { value: process.platform !== 'win32' ? 'sleep' : 'timeout' },
- lintFlags: { value: process.platform !== 'win32' ? ['2'] : ['/t', 2] }
+ lintFlags: { value: process.platform !== 'win32' ? ['2'] : ['/t', '2'] }
});
const results = await Promise.all([