- 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

@@ -35,21 +35,3 @@ describe "Syncing", ->
code: [ { file: 'main.tex', line: 3, column: -1 } ]
)
done()
describe "wordcount file", ->
it "should return wordcount info", (done) ->
Client.wordcount @project_id, "main.tex", (error, result) ->
throw error if error?
expect(result).to.deep.equal(
texcount: {
encode: "ascii"
textWords: 2
headWords: 0
outside: 0
headers: 0
elements: 0
mathInline: 0
mathDisplay: 0
}
)
done()