From 704a54647b75ca5f0b228abdf100ec33f5cc683b Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Mon, 9 Jul 2012 17:25:25 -0400 Subject: [PATCH] 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 --- tests/qunit/ext.uls.tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qunit/ext.uls.tests.js b/tests/qunit/ext.uls.tests.js index ff1b20e6..53e0ed04 100644 --- a/tests/qunit/ext.uls.tests.js +++ b/tests/qunit/ext.uls.tests.js @@ -85,7 +85,7 @@ test( "-- $.uls.data testing", function() { deepEqual( languagesByScriptGroupInEMEA['WestCaucasian'], ['hy', 'ka', 'xmf'], 'Correct languages in WestCaucasian script group selected' ); 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' ); } );