Skip to content

Commit 9b3a06a

Browse files
committed
core/os/device/remotessh: Fix test.
Use `DeepEquals` to fix the error: `panic: runtime error: comparing uncomparable type remotessh.Configuration`
1 parent 680caf4 commit 9b3a06a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/os/device/remotessh/configuration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,6 @@ func TestReadConfiguration(t *testing.T) {
8585
KnownHosts: "someFile",
8686
},
8787
} {
88-
assert.For(ctx, "configs[%v]", i).That(configs[i]).Equals(test)
88+
assert.For(ctx, "configs[%v]", i).That(configs[i]).DeepEquals(test)
8989
}
9090
}

0 commit comments

Comments
 (0)