Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ os:
- windows

go:
- "1.14"
- "1.15"
- "1.16"
- "1.17"

before_install:
- go get github.com/mattn/goveralls
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ In addition to 100% test coverage and no race conditions, this package is active

[goreport-img]: https://goreportcard.com/badge/github.com/go-cmd/cmd
[goreport-url]: https://goreportcard.com/report/github.com/go-cmd/cmd
[build-img]: https://travis-ci.org/go-cmd/cmd.svg?branch=master
[build-url]: https://travis-ci.org/go-cmd/cmd
[build-img]: https://app.travis-ci.com/go-cmd/cmd.svg?branch=master
[build-url]: https://app.travis-ci.com/go-cmd/cmd
[cover-img]: https://coveralls.io/repos/github/go-cmd/cmd/badge.svg
[cover-url]: https://coveralls.io/github/go-cmd/cmd
[godoc-img]: https://godoc.org/github.com/go-cmd/cmd?status.svg
Expand Down
14 changes: 14 additions & 0 deletions cmd_windows_internal_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// +build windows

package cmd

import (
"testing"
)

func TestTerminateProcess(t *testing.T) {
err := terminateProcess(123)
if err == nil {
t.Error("no error, expected one on terminating nonexisting PID")
}
}