Merge pull request #60387 from jianglingxia/jlx-plugintest

Automatic merge from submit-queue (batch tested with PRs 60396, 60384, 60395, 60387, 60260). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

correct the expected value in plugintest

**What this PR does / why we need it**:
correct the expected value and got value
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue 2018-02-26 00:01:40 -08:00 committed by GitHub
commit d866cf4b1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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