mirror of https://github.com/knative/pkg.git
[master] Fix spelling errors (#1376)
Produced via: `github.com/client9/misspell` /assign n3wscott vagababov /cc n3wscott vagababov
This commit is contained in:
parent
b0dc3661a7
commit
ebfd76c71b
|
@ -160,8 +160,8 @@ func TestCreateXMLErrorMsg(t *testing.T) {
|
|||
}
|
||||
defer os.RemoveAll(testDir) // clean up
|
||||
dest := path.Join(testDir, "TestCreateXMLErrorTestFile")
|
||||
CreateXMLErrorMsg("dummySuite", "dummyTest", "dummyError has occured", dest)
|
||||
expected := `<testsuites><testsuite name="dummySuite" time="0" failures="1" tests="1"><testcase name="dummyTest" time="0" classname=""><failure>dummyError has occured</failure><properties></properties></testcase><properties></properties></testsuite></testsuites>`
|
||||
CreateXMLErrorMsg("dummySuite", "dummyTest", "dummyError has occurred", dest)
|
||||
expected := `<testsuites><testsuite name="dummySuite" time="0" failures="1" tests="1"><testcase name="dummyTest" time="0" classname=""><failure>dummyError has occurred</failure><properties></properties></testcase><properties></properties></testsuite></testsuites>`
|
||||
|
||||
got, err := ioutil.ReadFile(dest)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue