Ini ialah laman pendokumenan untuk Modul:families/testcases
4 of 8 tests failed. (refresh)
| Text | Expected | Actual |
test_getCanonicalName: | map | Austronesia | Austronesia |
| gem | Jermanik | Germanic |
| Text | Expected | Actual |
test_getWikidataItem: | roa | Q19814 | Q19814 |
| gem | Q21200 | Q21200 |
| Text | Expected | Actual |
test_makeWikipediaLink: | map | [[w:Bahasa-bahasa Austronesia|Austronesia]] | [[w:Bahasa-bahasa Austronesia|Austronesia]] |
| gem | [[w:Bahasa-bahasa Jermanik|Jermanik]] | [[w:Bahasa-bahasa Jerman|Germanic]] |
| sgn-jsl | [[w:Keluarga Bahasa Isyarat Jepun|Bahasa Isyarat Jepun]] | [[w:Bahasa-bahasa Japanese Sign Languages|Japanese Sign Languages]] |
| Text | Expected | Actual |
test_toJSON: | roa-JSON | {"type" : "family", "wikidataItem" : "Q19814", "code" : "roa", "canonicalName" : "Romance", "otherNames" : ["Romanic", "Latin", "Neolatin", "Neo-Latin"], "categoryName" : "Romance languages", "family" : "itc"} | {"type" : [ "family", "full", "regular" ], "code" : "roa", "canonicalName" : "Romance", "aliases" : [ "Romanic", "Latin", "Neolatin", "Neo-Latin" ], "wikidataItem" : "Q19814", "varieties" : [], "protoLanguage" : "la", "family" : "itc", "otherNames" : [], "categoryName" : "Bahasa-bahasa Romance"} |