- fixed bug with texcount returning wrong data for nauty lines

- improved acceptence test for word count to use nauty lines
This commit is contained in:
Henry Oswald
2015-09-09 13:52:45 +01:00
parent 561eaa0d66
commit 74c393cda3
5 changed files with 664 additions and 22 deletions

View File

@@ -191,7 +191,7 @@ describe "CompileManager", ->
it "should run the texcount command", ->
@directory = "#{@Settings.path.compilesDir}/#{@project_id}"
@file_path = "$COMPILE_DIR/#{@file_name}"
@command =[ "texcount", '-inc', @file_path, "-out=" + @file_path + ".wc"]
@command =[ "texcount", "-inc", @file_path, "-out=" + @file_path + ".wc"]
@CommandRunner.run
.calledWith(@project_id, @command, @directory, @timeout)