lmartinking/webscreenhacks — pull request #1 by delfick (2012-05-21 10:33:17+00:00)
Title: more tests

So I wrote some more tests and then realised what would be causing that bug I spoke of before.

Analyser assumes that actionstream only sends backspaces if it has already sent out a mistake since the last backspace.

So when a new actionstream is created it hasn't recorded any mistakes. And if by chance a backspace is emitted before another mistake, then analyser will fail.

My solution is to tell actionstream when a new analyser is created.

On a side note, I'm interested to see what happens with this pull request, it seems to think you don't have quite a few commits that you should actually have....