Skip to content

Commit

Permalink
Fix some miscellaneous typos in the test descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyball committed Dec 19, 2014
1 parent 04ae085 commit c522e95
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/slack.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ describe 'Removing message formatting', ->
foo = @slackbot.removeFormatting 'foo > & < >&<'
foo.should.equal 'foo > & < >&<'

it 'Should change <@U1234> links to @name', ->
it 'Should change <@U123> links to @name', ->
foo = @slackbot.removeFormatting 'foo <@U123> bar'
foo.should.equal 'foo @name bar'

it 'Should change <@U1234|label> links to label', ->
it 'Should change <@U123|label> links to label', ->
foo = @slackbot.removeFormatting 'foo <@U123|label> bar'
foo.should.equal 'foo label bar'

it 'Should change <#C1234> links to #general', ->
it 'Should change <#C123> links to #general', ->
foo = @slackbot.removeFormatting 'foo <#C123> bar'
foo.should.equal 'foo #general bar'

it 'Should change <#C1234|label> links to label', ->
it 'Should change <#C123|label> links to label', ->
foo = @slackbot.removeFormatting 'foo <#C123|label> bar'
foo.should.equal 'foo label bar'

Expand Down Expand Up @@ -72,7 +72,7 @@ describe 'Removing message formatting', ->
foo = @slackbot.removeFormatting 'foo <https://www.example.com|example.com> bar'
foo.should.equal 'foo https://www.example.com bar'

it 'Should remove formatting around <https> links with a label containing entitles', ->
it 'Should remove formatting around <https> links with a label containing entities', ->
foo = @slackbot.removeFormatting 'foo <https://www.example.com|label &gt; &amp; &lt;> bar'
foo.should.equal 'foo label > & < (https://www.example.com) bar'

Expand Down

0 comments on commit c522e95

Please sign in to comment.