fixed tests
This commit is contained in:
parent
75e6d3240f
commit
8f27cb1842
2 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
//go:build darwin
|
||||
// +build darwin
|
||||
//go:build !windows
|
||||
// +build !windows
|
||||
|
||||
package system_test
|
||||
|
||||
|
|
@ -18,7 +18,7 @@ func TestNewCMDOpts(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestSystemRebootRequired(t *testing.T) {
|
||||
required, err := system.SystemRebootRequired()
|
||||
_, err := system.SystemRebootRequired()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue