Permalink
Browse files
client: fix matchInstance in tests
- Loading branch information...
Showing
with
2 additions
and
2 deletions.
-
+2
−2
client_test.go
|
|
@@ -366,8 +366,8 @@ func matchInstance(i *mmvdump.Instance, pi *pcpInstance, id *PCPInstanceDomain, |
|
|
t.Errorf("expected indom offset to be %d, got %d", i.Indom, id.offset)
|
|
|
}
|
|
|
|
|
|
- if in := i.External[:len(pi.name)]; pi.name != string(in) {
|
|
|
- t.Errorf("expected instance name to be %v, got %v", pi.name, in)
|
|
|
+ if in := i.External[:len(pi.name.val)]; pi.name.val != string(in) {
|
|
|
+ t.Errorf("expected instance name to be %v, got %v", pi.name.val, in)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
0 comments on commit
05757bd