Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Commit

Permalink
Adjust code to rtrim
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergej Müller committed Jun 17, 2016
1 parent bd0a219 commit 8247bb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var ltrim = require('ltrim');
* Strip whitespace from the beginning of a string
*/

ltrim( ' Hello ' ) + ' World' // Hello World
ltrim( ' Hello ' ) + ' World' // Hello World


/**
Expand Down
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ describe( 'Strip characters from the beginning of a string', function() {
it( 'Strip whitespace', function() {

expect(
ltrim( ' Hello World ' )
ltrim( ' Hello World ' )
).to.equal(
'Hello World '
'Hello World '
);

} );
Expand Down

0 comments on commit 8247bb0

Please sign in to comment.