Differences From Artifact [e7c58a38d5]:
- File
tests/OFStringTests.m
— part of check-in
[efb964a3ae]
at
2019-04-14 10:59:11
on branch trunk
— OFStringTests: Fix a new Clang warning
The idea was to have garbage before and remove it with the + 3, to
prevent compilers from potentially being smart in the future and
stripping the BOM. This hasn't happened, and instead they got smarter
with warnings, to remove that hack. (user: js, size: 53931) [annotate] [blame] [check-ins using]
To Artifact [6659b80a48]:
- File tests/OFStringTests.m — part of check-in [17d57e01ff] at 2019-06-17 02:33:47 on branch trunk — Remove underscores from class names (user: js, size: 53974) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
19 20 21 22 23 24 25 | #include <stdlib.h> #include <string.h> #include <math.h> #import "TestsAppDelegate.h" | > | > | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #include <stdlib.h> #include <string.h> #include <math.h> #import "TestsAppDelegate.h" #import "OFString.h" #import "OFMutableUTF8String.h" #import "OFUTF8String.h" static OFString *module = nil; static OFString *whitespace[] = { @" \r \t\n\t \tasd \t \t\t\r\n", @" \t\t \t\t \t \t" }; static of_unichar_t ucstr[] = { |
︙ | ︙ | |||
1428 1429 1430 1431 1432 1433 1434 | - (void)stringTests { module = @"OFString"; [self stringTestsWithClass: [SimpleString class] mutableClass: [SimpleMutableString class]]; module = @"OFString_UTF8"; | | | | 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 | - (void)stringTests { module = @"OFString"; [self stringTestsWithClass: [SimpleString class] mutableClass: [SimpleMutableString class]]; module = @"OFString_UTF8"; [self stringTestsWithClass: [OFUTF8String class] mutableClass: [OFMutableUTF8String class]]; } @end |