@@ -23,23 +23,23 @@
@"\"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">" \
@"\n" \
x @"\n" \
@""
-static OFString *module = @"OFPropertyList";
-static OFString *PLIST1 = PLIST(@"Hello");
-static OFString *PLIST2 = PLIST(
+static OFString *const module = @"OFPropertyList";
+static OFString *const PLIST1 = PLIST(@"Hello");
+static OFString *const PLIST2 = PLIST(
@""
@" Hello"
@" V29ybGQh"
@" 2018-03-14T12:34:56Z"
@" "
@" "
@" 12.25"
@" -10"
@"");
-static OFString *PLIST3 = PLIST(
+static OFString *const PLIST3 = PLIST(
@""
@" array"
@" "
@" Hello"
@" V29ybGQh"
@@ -57,12 +57,11 @@
- (void)propertyListTests
{
void *pool = objc_autoreleasePoolPush();
OFArray *array = [OFArray arrayWithObjects:
@"Hello",
- [OFData dataWithItems: "World!"
- count: 6],
+ [OFData dataWithItems: "World!" count: 6],
[OFDate dateWithTimeIntervalSince1970: 1521030896],
[OFNumber numberWithBool: true],
[OFNumber numberWithBool: false],
[OFNumber numberWithFloat: 12.25f],
[OFNumber numberWithInt: -10],