Skip to content

Commit

Permalink
Remove test cases for undefined behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasR committed Feb 28, 2016
1 parent 49c611f commit b6d2841
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/utility.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ describe 'utility:', ->

describe 'generateNextName:', ->
it 'generates names', ->
#XXX not valid identifiers - should we disallow these input values by throwing an error?
expect(utility.generateNextName '').to.equal '0'
expect(utility.generateNextName '0').to.equal '1'
expect(utility.generateNextName '8').to.equal '9'

expect(utility.generateNextName '9').to.equal 'a'
expect(utility.generateNextName 'a').to.equal 'b'
expect(utility.generateNextName 'b').to.equal 'c'
expect(utility.generateNextName 'z').to.equal 'A'
Expand Down

0 comments on commit b6d2841

Please sign in to comment.