Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #821 from danshultz/string_empty_chomp_keeps_carri…
…age_return String.chomp maintains trailing carriage return
- Loading branch information
Showing
with
7 additions
and 5 deletions.
@@ -1,6 +1,4 @@ | ||
fails:String#chomp when passed '' does not remove a final carriage return | ||
fails:String#chomp! when passed nil returns nil | ||
fails:String#chomp! when passed nil returns nil when self is empty | ||
fails:String#chomp! when passed '' does not remove a final carriage return | ||
fails:String#chomp removes the final carriage return, newline from a non-ASCII String | ||
fails:String#chomp! removes the final carriage return, newline from a non-ASCII String |