ObjFW  Diff

Differences From Artifact [0566a8c454]:

  • File tests/OFPropertyListTests.m — part of check-in [d763a9ff86] at 2020-08-13 22:46:28 on branch trunk — propertyListValue -> objectByParsingPropertyList (user: js size: 3764) [more...]

To Artifact [f260520db3]:

  • File tests/OFPropertyListTests.m — part of check-in [33bec58cf4] at 2020-09-27 02:29:00 on branch trunk — tests: Fix compiling with Apple GCC 4.2.1 (user: js size: 3765) [more...]

62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
	OFArray *array = [OFArray arrayWithObjects:
	    @"Hello",
	    [OFData dataWithItems: "World!"
			    count: 6],
	    [OFDate dateWithTimeIntervalSince1970: 1521030896],
	    [OFNumber numberWithBool: true],
	    [OFNumber numberWithBool: false],
	    [OFNumber numberWithFloat: 12.25],
	    [OFNumber numberWithInt: -10],
	    nil];

	TEST(@"-[objectByParsingPropertyList:] #1",
	    [PLIST1.objectByParsingPropertyList isEqual: @"Hello"])

	TEST(@"-[objectByParsingPropertyList:] #2",







|







62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
	OFArray *array = [OFArray arrayWithObjects:
	    @"Hello",
	    [OFData dataWithItems: "World!"
			    count: 6],
	    [OFDate dateWithTimeIntervalSince1970: 1521030896],
	    [OFNumber numberWithBool: true],
	    [OFNumber numberWithBool: false],
	    [OFNumber numberWithFloat: 12.25f],
	    [OFNumber numberWithInt: -10],
	    nil];

	TEST(@"-[objectByParsingPropertyList:] #1",
	    [PLIST1.objectByParsingPropertyList isEqual: @"Hello"])

	TEST(@"-[objectByParsingPropertyList:] #2",