fix formatting with make format_fix
This commit is contained in:
@@ -38,7 +38,7 @@ describe('LatexRunner', function() {
|
||||
})
|
||||
},
|
||||
'./CommandRunner': (this.CommandRunner = {}),
|
||||
'fs': (this.fs = {
|
||||
fs: (this.fs = {
|
||||
writeFile: sinon.stub().callsArg(2)
|
||||
})
|
||||
}
|
||||
@@ -87,18 +87,12 @@ describe('LatexRunner', function() {
|
||||
.should.equal(true)
|
||||
})
|
||||
|
||||
it('should record the stdout and stderr', function () {
|
||||
it('should record the stdout and stderr', function() {
|
||||
this.fs.writeFile
|
||||
.calledWith(
|
||||
this.directory + '/' + 'output.stdout',
|
||||
"this is stdout"
|
||||
)
|
||||
.calledWith(this.directory + '/' + 'output.stdout', 'this is stdout')
|
||||
.should.equal(true)
|
||||
this.fs.writeFile
|
||||
.calledWith(
|
||||
this.directory + '/' + 'output.stderr',
|
||||
"this is stderr"
|
||||
)
|
||||
.calledWith(this.directory + '/' + 'output.stderr', 'this is stderr')
|
||||
.should.equal(true)
|
||||
})
|
||||
})
|
||||
|
||||
@@ -262,19 +262,19 @@ describe('ResourceWriter', function() {
|
||||
.should.equal(true)
|
||||
})
|
||||
|
||||
it('should delete the stdout log file', function () {
|
||||
it('should delete the stdout log file', function() {
|
||||
return this.ResourceWriter._deleteFileIfNotDirectory
|
||||
.calledWith(path.join(this.basePath, 'output.stdout'))
|
||||
.should.equal(true)
|
||||
})
|
||||
|
||||
it('should delete the stderr log file', function () {
|
||||
it('should delete the stderr log file', function() {
|
||||
return this.ResourceWriter._deleteFileIfNotDirectory
|
||||
.calledWith(path.join(this.basePath, 'output.stderr'))
|
||||
.should.equal(true)
|
||||
})
|
||||
|
||||
it('should delete the extra files', function () {
|
||||
it('should delete the extra files', function() {
|
||||
return this.ResourceWriter._deleteFileIfNotDirectory
|
||||
.calledWith(path.join(this.basePath, 'extra/file.tex'))
|
||||
.should.equal(true)
|
||||
|
||||
Reference in New Issue
Block a user