correct the expected value in plugintest

pull/6/head
jianglingxia 2018-02-25 15:14:55 +08:00
parent be2e702844
commit a199d283fb
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ func TestSpecSourceConverters(t *testing.T) {
t.Errorf("Unexpected nil EmptyDir: %#v", converted)
}
if v.Name != converted.Name() {
t.Errorf("Expected %v but got %v", v.Name, converted.Name())
t.Errorf("Expected %v but got %v", converted.Name(), v.Name)
}
pv := &v1.PersistentVolume{
@ -52,7 +52,7 @@ func TestSpecSourceConverters(t *testing.T) {
t.Errorf("Unexpected nil AWSElasticBlockStore: %#v", converted)
}
if pv.Name != converted.Name() {
t.Errorf("Expected %v but got %v", pv.Name, converted.Name())
t.Errorf("Expected %v but got %v", converted.Name(), pv.Name)
}
}