mhevery/angular.js — comment on commit 6a95c0eab6d075960bada50532612c5d610babff
File: test/widget/inputSpec.js line 455
By IgorMinar:

this is lame. the whole purpose of the log mock is that we can verify presence and format of some messages. by just calling shift you got the test to pass, but didn't verify that the right thing is happening. If you really don't care about the message then we should not log it, but if we think that the message is important enough to be logged then we should assert it properly in the tests.