From c29b9407064dbc14baa338f2ba9713d49b99e1dd Mon Sep 17 00:00:00 2001 From: Danielle Adams Date: Tue, 26 Jun 2018 17:56:26 -0400 Subject: cleanup tests and formatting --- test/git.unit.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/git.unit.js') diff --git a/test/git.unit.js b/test/git.unit.js index 3e0c5104..38177a18 100644 --- a/test/git.unit.js +++ b/test/git.unit.js @@ -16,8 +16,8 @@ describe("git.js", function() { faker.hacker.verb.restore(); }); - it("returns a branch with hacker noun, adj and verb", function() { - var message = faker.git.branch(); + it("returns a branch with hacker noun and verb", function() { + faker.git.branch(); assert.ok(faker.hacker.noun.calledOnce); assert.ok(faker.hacker.verb.calledOnce); @@ -45,7 +45,7 @@ describe("git.js", function() { }); it("returns a commit message with hacker noun, adj and verb", function() { - var message = faker.git.commitMessage(); + faker.git.commitMessage(); assert.ok(faker.hacker.verb.calledOnce); assert.ok(faker.hacker.adjective.calledOnce); @@ -55,8 +55,8 @@ describe("git.js", function() { describe("shortSha()", function() { it("returns a random short SHA", function() { - var commitSha = faker.git.shortSha(); - assert.ok(commitSha.match(/^[a-z0-9]{7}$/)); + var shortSha = faker.git.shortSha(); + assert.ok(shortSha.match(/^[a-z0-9]{7}$/)); }); }); -}); \ No newline at end of file +}); -- cgit v1.2.3