]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Update and rename cy-gb.js to cy.js 1215/head
authorRobert Allen <robgallen@gmail.com>
Thu, 24 Oct 2013 18:45:49 +0000 (19:45 +0100)
committerRobert Allen <robgallen@gmail.com>
Thu, 24 Oct 2013 18:45:49 +0000 (19:45 +0100)
test/lang/cy.js [moved from test/lang/cy-gb.js with 99% similarity]

similarity index 99%
rename from test/lang/cy-gb.js
rename to test/lang/cy.js
index fd7b21070a35824d8b01f676d28adb97901e6fe6..bf7a421c9a86e4131bc587a0d707ff2b0ac9be9b 100644 (file)
@@ -5,9 +5,9 @@ var moment = require("../../moment");
       Welsh
      *************************************************/
 
-exports["lang:cy-gb"] = {
+exports["lang:cy"] = {
     setUp : function (cb) {
-        moment.lang('cy-gb');
+        moment.lang('cy');
         cb();
     },
 
@@ -354,7 +354,7 @@ exports["lang:cy-gb"] = {
     
     "returns the name of the language" : function (test) {
         if (typeof module !== 'undefined' && module.exports) {
-            test.equal(require('../../lang/cy-gb'), 'cy-gb', "module should export cy-gb");
+            test.equal(require('../../lang/cy'), 'cy', "module should export cy");
         }
         
         test.done();