DEV Community

Discussion on: Crazy Developer Stories/Bugs

Collapse
 
zeddotes profile image
zeddotes

So, last night, I was stuck on writing a test for a function no bigger than 15-20 lines. Stuck for close to an hour when I realized the 2 strings (URIs) I was testing were different; was expecting a $ instead of &.

Rest assured I made it through the nightmare.

Collapse
 
tmcsquared profile image
TMcSquared

Lol, I don't know how many times I've switched $ for & while coding in C++.