aboutsummaryrefslogtreecommitdiff
path: root/test/modules/git.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/modules/git.spec.ts')
-rw-r--r--test/modules/git.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/modules/git.spec.ts b/test/modules/git.spec.ts
index 8957e995..e4692b20 100644
--- a/test/modules/git.spec.ts
+++ b/test/modules/git.spec.ts
@@ -134,7 +134,7 @@ describe('git', () => {
expect(commitDate).toBeTypeOf('string');
const parts = commitDate.split(' ');
- expect(parts.length).toBe(6);
+ expect(parts).toHaveLength(6);
});
});