Hello,

I was trying to convert the remainder of Mike McCracken's unit tests.

For TestComplexString, one of the tests looks like this:

- (void)testStringFromBibTeXString{
    BDSKStringNode *sn = [BDSKStringNode nodeWithBibTeXString:@"{string}"];
    // .. snip ..
    UKStringsEqual(@"string", [sn value]);
}


And my new equivalent like this:

- (void)testStringFromBibTeXString{
    BDSKStringNode *sn = [BDSKStringNode nodeWithQuotedString:@"{string}"];
    STAssertEqualObjects(@"string", [sn value],nil);
}

But this fails because [sn value] is unchanged ie @"{string}".  Looking at
the code, somewhere along the line the StringNode

nodeWithQuotedString

method stopped detexifying the string.  I presume that's the correct
behaviour?  Many thanks,

Greg.




------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Bibdesk-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to