code-dot-org/blockly — pull request #790 by Bjvanminnen (2014-08-04 23:42:45+00:00)
Title: if no goal sprites, dont report goals as visited

Was on a freeplay level and it was immediately reporting success, because it had no goal sprites, decided it had visited them all, and reported it was finished.

Added a fix and a test that goes from red to green with this fix.