mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-18 05:31:38 +03:00
Disable shell completion tests on windows
This commit is contained in:
parent
5917d2750c
commit
071d89d393
@ -199,7 +199,9 @@ func TestCompleteFlagActiveSchema_query_cmds(t *testing.T) { //nolint:tparallel
|
||||
//
|
||||
// See also: TestCompleteFlagActiveSchema_query_cmds.
|
||||
func TestCompleteFlagActiveSchema_inspect(t *testing.T) {
|
||||
tu.SkipIssueWindows(t, tu.GH372ShellCompletionWin)
|
||||
t.Parallel()
|
||||
|
||||
const wantDirective = cobra.ShellCompDirectiveNoFileComp | cobra.ShellCompDirectiveKeepOrder
|
||||
|
||||
testCases := []struct {
|
||||
@ -305,6 +307,9 @@ func TestCompleteFlagActiveSchema_inspect(t *testing.T) {
|
||||
// TestCompleteFilterActiveGroup tests completion behavior
|
||||
// wrt [cli.OptShellCompletionGroupFilter].
|
||||
func TestCompleteFilterActiveGroup(t *testing.T) {
|
||||
tu.SkipIssueWindows(t, tu.GH372ShellCompletionWin)
|
||||
t.Parallel()
|
||||
|
||||
const (
|
||||
prodInv = "@prod/inventory"
|
||||
prodSales = "@prod/sales"
|
||||
@ -420,6 +425,8 @@ func TestCompleteFilterActiveGroup(t *testing.T) {
|
||||
for _, tc := range testCases {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
tr := testrun.New(context.Background(), t, nil).Hush()
|
||||
|
||||
for _, handle := range tc.srcs {
|
||||
@ -452,6 +459,7 @@ func TestCompleteFilterActiveGroup(t *testing.T) {
|
||||
// works with both cobra.ShellCompRequestCmd and
|
||||
// cobra.ShellCompNoDescRequestCmd.
|
||||
func TestCompleteAllCobraRequestCmds(t *testing.T) {
|
||||
tu.SkipIssueWindows(t, tu.GH372ShellCompletionWin)
|
||||
t.Parallel()
|
||||
|
||||
testCases := []struct {
|
||||
|
Loading…
Reference in New Issue
Block a user