[master] Fix spelling errors (#1376)

Produced via:
  `github.com/client9/misspell`
/assign n3wscott vagababov
/cc n3wscott vagababov
This commit is contained in:
Matt Moore 2020-06-03 09:59:18 -07:00 committed by GitHub
parent b0dc3661a7
commit ebfd76c71b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 {