diff options
| author | Danielle Adams <[email protected]> | 2018-06-26 17:56:26 -0400 |
|---|---|---|
| committer | Marak <[email protected]> | 2018-09-23 11:12:09 -0400 |
| commit | c29b9407064dbc14baa338f2ba9713d49b99e1dd (patch) | |
| tree | e9e7ad7f2fdeefaac97bc91a696967813ad626be /test/git.unit.js | |
| parent | 5dfbd4442c8eaeff5ab25fc8115b2e7eb6c33854 (diff) | |
| download | faker-c29b9407064dbc14baa338f2ba9713d49b99e1dd.tar.xz faker-c29b9407064dbc14baa338f2ba9713d49b99e1dd.zip | |
cleanup tests and formatting
Diffstat (limited to 'test/git.unit.js')
| -rw-r--r-- | test/git.unit.js | 12 |
1 files changed, 6 insertions, 6 deletions
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 +}); |
