mirror of
https://github.com/spf13/cobra
synced 2025-01-30 15:36:47 +00:00
disable TestDeadcodeElimination on windows
This commit is contained in:
parent
082a3658e7
commit
0f94115d1c
1 changed files with 4 additions and 0 deletions
|
@ -242,6 +242,10 @@ func TestRpad(t *testing.T) {
|
||||||
//
|
//
|
||||||
// See also: https://github.com/spf13/cobra/pull/1956
|
// See also: https://github.com/spf13/cobra/pull/1956
|
||||||
func TestDeadcodeElimination(t *testing.T) {
|
func TestDeadcodeElimination(t *testing.T) {
|
||||||
|
if runtime.GOOS == "windows" {
|
||||||
|
t.Skip("go tool nm fails on windows")
|
||||||
|
}
|
||||||
|
|
||||||
// check that a simple program using cobra in its default configuration is
|
// check that a simple program using cobra in its default configuration is
|
||||||
// linked with deadcode elimination enabled.
|
// linked with deadcode elimination enabled.
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Reference in a new issue