MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/teqb37/static_bool_iscrazymurderingrobot_false/i0sevr5/
r/ProgrammerHumor • u/speckz • Mar 15 '22
257 comments sorted by
View all comments
Show parent comment
3
If the code is there then for it to be merged a unit test must have been passed covering that branch and killing a human. I hope they mocked the human dependency.
3 u/10BillionDreams Mar 15 '22 I hope they mocked the human dependency.How cruel! Not only sending a human to their death, but mocking them in their last moments?...but at least I can merge now that the tests are passing. 2 u/Gem2578 Mar 15 '22 If there was unit test the it would of failed covering the other branch as you can't enter the else
I hope they mocked the human dependency.
How cruel! Not only sending a human to their death, but mocking them in their last moments?
...but at least I can merge now that the tests are passing.
2
If there was unit test the it would of failed covering the other branch as you can't enter the else
View all comments
Show parent comment
3
u/Theonetheycallgreat Mar 15 '22 edited Mar 15 '22
If the code is there then for it to be merged a unit test must have been passed covering that branch and killing a human. I hope they mocked the human dependency.