mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 19:34:27 -05:00
updated tests toward fixing #653
This commit is contained in:
@@ -56,10 +56,12 @@ obj = {
|
||||
getNames: ->
|
||||
args = ['jane', 'ted']
|
||||
@accessor(args...)
|
||||
index: 0
|
||||
0: {method: -> this is obj[0]}
|
||||
}
|
||||
|
||||
ok obj.getNames() is 'moe jane ted'
|
||||
|
||||
ok obj[obj.index++].method([]...), 'should cache base value'
|
||||
|
||||
crowd = [
|
||||
contenders...
|
||||
|
||||
Reference in New Issue
Block a user