ObjFW  Check-in [7d4f42ca34]

Overview
Comment:Fix a typo in tests.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7d4f42ca34d3a08f2f3200cdf1fa2d73a17e81a10802903b39c367df15392e3b
User & Date: js on 2011-02-10 22:07:23
Other Links: manifest | tags
Context
2011-02-10
22:32
Oops. Broke the check for asprintf. Fixed. check-in: 37e4b2edc0 user: js tags: trunk
22:07
Fix a typo in tests. check-in: 7d4f42ca34 user: js tags: trunk
20:41
More work on the PSP port.
Outputting text now works - with colours!
check-in: 3273f141b3 user: js tags: trunk
Changes

Modified tests/OFTCPSocketTests.m from [03ba1d4e12] to [3cdfedaa43].

44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
	if (port < 1024)
		port += 1024;

	TEST(@"+[socket]", (server = [OFTCPSocket socket]) &&
	    (client = [OFTCPSocket socket]))

	msg = [OFString stringWithFormat:
	    @"-[bindToPort:onHost:] (port " @PRIu16 @")", port];
	TEST(msg, R([server bindToPort: port
				onHost: @"127.0.0.1"]))

	TEST(@"-[listen]", R([server listen]))

	TEST(@"-[connectToHost:onPort:]",
	    R([client connectToHost: @"127.0.0.1"







|







44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
	if (port < 1024)
		port += 1024;

	TEST(@"+[socket]", (server = [OFTCPSocket socket]) &&
	    (client = [OFTCPSocket socket]))

	msg = [OFString stringWithFormat:
	    @"-[bindToPort:onHost:] (port %" @PRIu16 @")", port];
	TEST(msg, R([server bindToPort: port
				onHost: @"127.0.0.1"]))

	TEST(@"-[listen]", R([server listen]))

	TEST(@"-[connectToHost:onPort:]",
	    R([client connectToHost: @"127.0.0.1"