Add comment about tests on OS X

This commit is contained in:
James Allen 2015-03-20 15:02:26 +00:00
parent 01d5322ef3
commit f7e0f0c54b

View file

@ -55,6 +55,9 @@ describe "ASpell", ->
@start = Date.now()
@ASpell.checkWords "en", words, (error, @result) => done()
# Note that this test fails on OS X, due to differing pipe behaviour
# on killing the child process. It can be tested successfully on Travis
# or the CI server.
it "should return in reasonable time", (done) ->
delta = Date.now()-@start
delta.should.be.below(@ASpell.ASPELL_TIMEOUT + 100)