Skip to content

Commit

Permalink
Correct test for TeamCity status
Browse files Browse the repository at this point in the history
The accepted content in the test would not be recognised by teamcity as a failure.
  • Loading branch information
BlythMeister committed Mar 27, 2017
1 parent 39c7322 commit 1337218
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/Test.FAKECore/TeamCitySpecs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ public class when_creating_buildstatus
{
It should_encapsulate_special_chars =
() => TeamCityHelper.buildStatus("FAILURE", "Total 47, Failures 1, NotRun 0, Inconclusive 0, Skipped 0")
.ShouldEqual("##teamcity[buildStatus 'FAILURE' text='Total 47, Failures 1, NotRun 0, Inconclusive 0, Skipped 0']");
.ShouldEqual("##teamcity[buildStatus status='FAILURE' text='Total 47, Failures 1, NotRun 0, Inconclusive 0, Skipped 0']");
}
}
}

0 comments on commit 1337218

Please sign in to comment.