Double == causes error on travis (dash shell)
Merge pull request #380 from koenpunt/fix-current-test

Double == causes error on travis (dash shell)