[stdlibunittest] More de-boilerplating WIP

Step 2.

Swift SVN r29936
This commit is contained in:
Dave Abrahams
2015-07-07 04:54:03 +00:00
parent ee2aacceb9
commit 70ee2adc84
15 changed files with 186 additions and 225 deletions

View File

@@ -60,16 +60,16 @@ UnicodeTrie.test("_UnicodeGraphemeClusterBreakPropertyTrie") {
if cp % 0x10000 == 0 {
print("\(cp)...")
}
expectEqual(expected[Int(cp)], trie.getPropertyValue(cp)) {
"code point \(cp)"
}
expectEqual(
expected[Int(cp)], trie.getPropertyValue(cp), "code point \(cp)")
}
}
%{
grapheme_cluster_break_tests = \
get_grapheme_cluster_break_tests_as_unicode_scalars(unicodeGraphemeBreakTestFile)
get_grapheme_cluster_break_tests_as_unicode_scalars(
unicodeGraphemeBreakTestFile)
}%