ObjFW  Check-in [95b2ee25d4]

Overview
Comment:Fix one test on AmigaOS/MorphOS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 95b2ee25d40603a8cde8b83d545c3a3b9068e8678daeb32b919f5aa5b5345ce8
User & Date: js on 2022-10-16 11:00:38
Other Links: manifest | tags
Context
2022-10-16
18:49
OFValue: Fix missing #include "config.h" (check-in: 0a5cd7e353 user: js tags: trunk)
11:00
Fix one test on AmigaOS/MorphOS (check-in: 95b2ee25d4 user: js tags: trunk)
2022-10-14
21:42
README.md: Recommend CLANG64/CLANG32 for MSYS2 (check-in: 4170c39898 user: js tags: trunk)
Changes

Modified tests/OFStringTests.m from [b6537107f8] to [10adf25aaa].

594
595
596
597
598
599
600






601
602
603
604
605
606
607
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613







+
+
+
+
+
+







	TEST(@"-[stringByAppendingPathExtension:]",
	    [[C(@"foo") stringByAppendingPathExtension: @"bar"]
	    isEqual: @"foo.bar"] &&
	    [[C(@"c:\\tmp\\foo") stringByAppendingPathExtension: @"bar"]
	    isEqual: @"c:\\tmp\\foo.bar"] &&
	    [[C(@"c:\\tmp\\/\\") stringByAppendingPathExtension: @"bar"]
	    isEqual: @"c:\\tmp.bar"])
# elif defined(OF_AMIGAOS)
	TEST(@"-[stringByAppendingPathExtension:]",
	    [[C(@"foo") stringByAppendingPathExtension: @"bar"]
	    isEqual: @"foo.bar"] &&
	    [[C(@"foo/bar") stringByAppendingPathExtension: @"baz"]
	    isEqual: @"foo/bar.baz"])
# else
	TEST(@"-[stringByAppendingPathExtension:]",
	    [[C(@"foo") stringByAppendingPathExtension: @"bar"]
	    isEqual: @"foo.bar"] &&
	    [[C(@"foo/bar") stringByAppendingPathExtension: @"baz"]
	    isEqual: @"foo/bar.baz"] &&
	    [[C(@"foo///") stringByAppendingPathExtension: @"bar"]