mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
merging in refactorTests.
This commit is contained in:
parent
1f58232e87
commit
5a7120e163
1 changed files with 14 additions and 12 deletions
|
@ -4,16 +4,18 @@
|
|||
# TODO: add method invocation tests: true.toString() is "true"
|
||||
|
||||
#764: Boolean should be indexable
|
||||
eq Boolean::toString, true['toString']
|
||||
eq Boolean::toString, false['toString']
|
||||
eq Boolean::toString, yes['toString']
|
||||
eq Boolean::toString, no['toString']
|
||||
eq Boolean::toString, on['toString']
|
||||
eq Boolean::toString, off['toString']
|
||||
toString = Boolean::toString
|
||||
|
||||
eq Boolean::toString, true.toString
|
||||
eq Boolean::toString, false.toString
|
||||
eq Boolean::toString, yes.toString
|
||||
eq Boolean::toString, no.toString
|
||||
eq Boolean::toString, on.toString
|
||||
eq Boolean::toString, off.toString
|
||||
eq toString, true['toString']
|
||||
eq toString, false['toString']
|
||||
eq toString, yes['toString']
|
||||
eq toString, no['toString']
|
||||
eq toString, on['toString']
|
||||
eq toString, off['toString']
|
||||
|
||||
eq toString, true.toString
|
||||
eq toString, false.toString
|
||||
eq toString, yes.toString
|
||||
eq toString, no.toString
|
||||
eq toString, on.toString
|
||||
eq toString, off.toString
|
||||
|
|
Loading…
Reference in a new issue