Test case for https://github.com/jshint/jshint/issues/1905