/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
go/updater/command/command_windows_test.go
20 строк
470 B
chrisnojima-zoom
Version 670 - clean2 (#29122)
08 июн 2026, 19:31
Не верифицирован
08 июн 2026, 19:31
1943197
Код
Авторство
О чём код?
// Copyright 2016 Keybase, Inc. All rights reserved. Use of // this source code is governed by the included BSD license. //go:build windows package command import ( "strings" "testing" "time" "github.com/stretchr/testify/assert" ) func TestExecEchoWindows(t *testing.T) { result, err := Exec("cmd", []string{"/c", "echo", "arg1", "arg2"}, time.Second, testLog) assert.NoError(t, err) assert.Equal(t, strings.TrimSpace(result.Stdout.String()), "arg1 arg2") }