File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 11package ansible
22
33import (
4+ "slices"
45 "testing"
5-
6- "github.com/google/go-cmp/cmp"
76)
87
98func TestPlaybook (t * testing.T ) {
@@ -21,7 +20,7 @@ func TestPlaybook(t *testing.T) {
2120 "-e env=production" ,
2221 }
2322
24- if ! cmp .Equal (args , expected ) {
23+ if ! slices .Equal (args , expected ) {
2524 t .Errorf ("Playbook.CmdArgs() = %v, want %v" , args , expected )
2625 }
2726}
@@ -46,7 +45,7 @@ func TestPlaybookAll(t *testing.T) {
4645 "-e site=example.com" ,
4746 }
4847
49- if ! cmp .Equal (args , expected ) {
48+ if ! slices .Equal (args , expected ) {
5049 t .Errorf ("Playbook.CmdArgs() = %v, want %v" , args , expected )
5150 }
5251}
@@ -75,7 +74,7 @@ func TestPlaybookAddExtraVars(t *testing.T) {
7574 "-e site=example.com" ,
7675 }
7776
78- if ! cmp .Equal (args , expected ) {
77+ if ! slices .Equal (args , expected ) {
7978 t .Errorf ("Playbook.CmdArgs() = %v, want %v" , args , expected )
8079 }
8180}
You can’t perform that action at this time.
0 commit comments