Fix a #pretty_string test not to fail on Travis CI