Differences From Artifact [a1285e945c]:
- File
tests/OFListTests.m
— part of check-in
[c5ef582958]
at
2013-03-04 17:20:15
on branch trunk
— Replace BOOL with bool.
The only places where BOOL is left are those where they are required by
the ABI. (user: js, size: 4139) [annotate] [blame] [check-ins using]
To Artifact [6fc9d88b76]:
- File
tests/OFListTests.m
— part of check-in
[6143baaaee]
at
2013-07-10 12:33:37
on branch trunk
— Get rid of a new Clang warning.
Clang now warns if the enumeration variable of a fast enumeration is not
used. (user: js, size: 4160) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
139 140 141 142 143 144 145 | if ([list count] != i) ok = false; TEST(@"Fast Enumeration", ok) ok = false; @try { | | > > > | 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | if ([list count] != i) ok = false; TEST(@"Fast Enumeration", ok) ok = false; @try { for (OFString *obj in list) { (void)obj; [list removeListObject: [list lastListObject]]; } } @catch (OFEnumerationMutationException *e) { ok = true; } TEST(@"Detection of mutation during Fast Enumeration", ok) #endif [pool drain]; } @end |