From 17e4f195e59e52c7be3d9a986ce618ec12f0ab42 Mon Sep 17 00:00:00 2001 From: hongarc Date: Sun, 15 Mar 2020 11:06:03 +0700 Subject: [PATCH] chore(jasmine): fix test in travis-ci auto detect language --- __tests__/git.spec.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/__tests__/git.spec.js b/__tests__/git.spec.js index 1fde8112..05e72932 100644 --- a/__tests__/git.spec.js +++ b/__tests__/git.spec.js @@ -1,3 +1,4 @@ +var intl = require('../src/js/intl') var base = require('./base'); var expectTreeAsync = base.expectTreeAsync; var runCommand = base.runCommand; @@ -294,7 +295,13 @@ describe('Git', function() { it('requires at least 1 argument', function() { return runCommand('git rev-list', function(commandMsg) { - expect(commandMsg).toContain('at least 1'); + expect(commandMsg).toEqual(intl.str( + 'git-error-args-few', + { + lower: 1, + what: 'with git rev-list' + } + )); }); });