From 2a2ef76b6833a3672480b216fd574af390af4c01 Mon Sep 17 00:00:00 2001 From: kokarn Date: Fri, 23 Sep 2016 11:34:04 +0200 Subject: [PATCH] Add "Path" to variable names for clarity --- test/tests/clone.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/tests/clone.js b/test/tests/clone.js index 40c557dee..c7645357d 100644 --- a/test/tests/clone.js +++ b/test/tests/clone.js @@ -12,10 +12,10 @@ describe("Clone", function() { var clonePath = local("../repos/clone"); - var sshPublicKey = local("../id_rsa.pub"); - var sshPrivateKey = local("../id_rsa"); - var sshEncryptedPublicKey = local("../encrypted_rsa.pub"); - var sshEncryptedPrivateKey = local("../encrypted_rsa"); + var sshPublicKeyPath = local("../id_rsa.pub"); + var sshPrivateKeyPath = local("../id_rsa"); + var sshEncryptedPublicKeyPath = local("../encrypted_rsa.pub"); + var sshEncryptedPrivateKeyPath = local("../encrypted_rsa"); // Set a reasonable timeout here now that our repository has grown. this.timeout(30000); @@ -219,8 +219,8 @@ describe("Clone", function() { credentials: function(url, userName) { return NodeGit.Cred.sshKeyNew( userName, - sshPublicKey, - sshPrivateKey, + sshPublicKeyPath, + sshPrivateKeyPath, ""); } } @@ -245,8 +245,8 @@ describe("Clone", function() { credentials: function(url, userName) { return NodeGit.Cred.sshKeyNew( userName, - sshEncryptedPublicKey, - sshEncryptedPrivateKey, + sshEncryptedPublicKeyPath, + sshEncryptedPrivateKeyPath, "test-password" ); }