This is in pivotal. Unfortunately it must be STAssertEqual(Banana,
(NSUInteger)50, @"Did not match!") or we get a type mismatch.


On Thu, Sep 26, 2013 at 12:17 PM, Joshua Tessier
<notifications@github.com>wrote:

> In Testasaurus Rex/Testasaurus RexTests/TREXTestRunTest.m:
>
> > @@ -188,8 +188,8 @@ - (void)testAddTestRunCase
> >  	STAssertTrue([self.baseTestRun testRunCases].count == 1, @"There should have been one test Run Case in the testRunCases array");
> >  	TREXTestRunCase *retrievedTestRunCase = [self.baseTestRun testRunCases][0];
> >  	STAssertTrue([retrievedTestRunCase.status isEqualToString:@"unknown"], @"Name should have been banana_name");
> > -	STAssertTrue(retrievedTestRunCase.test_case_id == 50, @"Test case ID should have been 50");
> > -	STAssertTrue(retrievedTestRunCase.associated_bug== 50, @"Associated Bug should have been 50");
> > +	STAssertTrue(retrievedTestRunCase.testCaseId == 50, @"Test case ID should have been 50");
> > +	STAssertTrue(retrievedTestRunCase.associatedBug== 50, @"Associated Bug should have been 50");
> >  	STAssertTrue(retrievedTestRunCase.parentTestRun.identifier == 1, @"Parent Test Run ID should have been 1");
>
> In the future, swap these to be
>
> STAssertEqual(Banana, 50, @"Did not match!")
>
> Rather than STAssertTrue. Better error messages for free.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/joshpc/Testosaurus/pull/52/files#r6605413>
> .
>