mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-24 15:08:37 +02:00
chore(jasmine): fix test in travis-ci
auto detect language
This commit is contained in:
parent
25246b4024
commit
17e4f195e5
1 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
var intl = require('../src/js/intl')
|
||||||
var base = require('./base');
|
var base = require('./base');
|
||||||
var expectTreeAsync = base.expectTreeAsync;
|
var expectTreeAsync = base.expectTreeAsync;
|
||||||
var runCommand = base.runCommand;
|
var runCommand = base.runCommand;
|
||||||
|
@ -294,7 +295,13 @@ describe('Git', function() {
|
||||||
|
|
||||||
it('requires at least 1 argument', function() {
|
it('requires at least 1 argument', function() {
|
||||||
return runCommand('git rev-list', function(commandMsg) {
|
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'
|
||||||
|
}
|
||||||
|
));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue