chore(jasmine): fix test in travis-ci

auto detect language
This commit is contained in:
hongarc 2020-03-15 11:06:03 +07:00
parent 25246b4024
commit 17e4f195e5

View file

@ -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'
}
));
});
});