test/knownRegions.js let -> var (quick fix) (#18)
authorChris Brody <chris.brody@gmail.com>
Wed, 5 Dec 2018 16:29:58 +0000 (11:29 -0500)
committerGitHub <noreply@github.com>
Wed, 5 Dec 2018 16:29:58 +0000 (11:29 -0500)
needed to pass on older Node.js versions

test/knownRegions.js

index 6d3144c..08ce454 100644 (file)
@@ -71,10 +71,10 @@ exports.removeKnownRegion = {
   },
 
   'should do nothing if named region does not exist in knownRegions': function (test) {
-    let numberOfRegions = project.pbxProjectSection()[project.getFirstProject()['uuid']]['knownRegions'].length;
+    var numberOfRegions = project.pbxProjectSection()[project.getFirstProject()['uuid']]['knownRegions'].length;
 
     project.removeKnownRegion('Korean');
-    let newNumberOfRegions = project.pbxProjectSection()[project.getFirstProject()['uuid']]['knownRegions'].length;
+    var newNumberOfRegions = project.pbxProjectSection()[project.getFirstProject()['uuid']]['knownRegions'].length;
     test.equal(numberOfRegions, newNumberOfRegions);
     test.done();
   },