klein / klein.php

A fast & flexible router
MIT License
2.66k stars 290 forks source link

Bugfix - Expected output unit test stability #338

Closed Rican7 closed 7 years ago

Rican7 commented 7 years ago

This PR fixes a bug found when running tests under certain PHP runtime versions and/or configurations.

It also removes some debug code that shouldn't have ever been committed and strengthens an equality check. Sooo, basically just some drive-by cleanup while fixing a problem. 😛

Rican7 commented 7 years ago

Tests passed! Merging!