Commit a199d283 authored by jianglingxia's avatar jianglingxia

correct the expected value in plugintest

parent be2e7028
......@@ -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)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment