Skip to content

Commit

Permalink
Merge pull request #154 from mattsonlyattack/master
Browse files Browse the repository at this point in the history
escape TC message attrib for common selenium msg
  • Loading branch information
lefthandedgoat committed Jun 3, 2014
2 parents 826b44f + 67717b8 commit 162d373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/canopy/reporters.fs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ type TeamCityReporter() =
member this.pass () = consoleReporter.pass ()

member this.fail ex id ss =
consoleReporter.describe (String.Format("##teamcity[testFailed name='{0}' message='{1}']", id, ex.Message))
consoleReporter.describe (String.Format("##teamcity[testFailed name='{0}' message='{1}']", id, ex.Message.Replace("'", "|'")))
consoleReporter.fail ex id ss

member this.describe d =
Expand Down

0 comments on commit 162d373

Please sign in to comment.