Surely I'm missing something here!
Possibly. What do you think it does? Maybe you're not seeing the second "=" in "=="