Fixed a test that checks Greek script languages
Tests about the Greek script failed because new languages were added to the language database. Also, it had to be deepEqual and not strictEqual. I fixed the tests. Change-Id: I68cf0593354d71bd35c53bac5afe7cabd25182a1
This commit is contained in:
@@ -85,7 +85,7 @@ test( "-- $.uls.data testing", function() {
|
|||||||
deepEqual( languagesByScriptGroupInEMEA['WestCaucasian'], ['hy', 'ka', 'xmf'], 'Correct languages in WestCaucasian script group selected' );
|
deepEqual( languagesByScriptGroupInEMEA['WestCaucasian'], ['hy', 'ka', 'xmf'], 'Correct languages in WestCaucasian script group selected' );
|
||||||
|
|
||||||
var allLanguagesByScriptGroup = $.uls.data.allLanguagesByScriptGroup();
|
var allLanguagesByScriptGroup = $.uls.data.allLanguagesByScriptGroup();
|
||||||
strictEqual( allLanguagesByScriptGroup['Greek'], ['el', 'grc', 'pnt'], 'All languages in the Greek script found' );
|
deepEqual( allLanguagesByScriptGroup['Greek'], ['el', 'grc', 'pnt', 'ruq-grek', 'tsd'], 'All languages in the Greek script found' );
|
||||||
|
|
||||||
deepEqual( $.uls.data.allRegions(), ['NA', 'LA', 'SA', 'ME', 'AF', 'EU', 'AS', 'AU', 'PA', 'WW'], 'All regions found' );
|
deepEqual( $.uls.data.allRegions(), ['NA', 'LA', 'SA', 'ME', 'AF', 'EU', 'AS', 'AU', 'PA', 'WW'], 'All regions found' );
|
||||||
} );
|
} );
|
||||||
|
|||||||
Reference in New Issue
Block a user