Skip to content

Commit 17e4f19

Browse files
author
hongarc
committed
chore(jasmine): fix test in travis-ci
auto detect language
1 parent 25246b4 commit 17e4f19

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

__tests__/git.spec.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
var intl = require('../src/js/intl')
12
var base = require('./base');
23
var expectTreeAsync = base.expectTreeAsync;
34
var runCommand = base.runCommand;
@@ -294,7 +295,13 @@ describe('Git', function() {
294295

295296
it('requires at least 1 argument', function() {
296297
return runCommand('git rev-list', function(commandMsg) {
297-
expect(commandMsg).toContain('at least 1');
298+
expect(commandMsg).toEqual(intl.str(
299+
'git-error-args-few',
300+
{
301+
lower: 1,
302+
what: 'with git rev-list'
303+
}
304+
));
298305
});
299306
});
300307

0 commit comments

Comments
 (0)