promises-aplus / promises-tests

Compliances tests for Promises/A+
Other
943 stars 107 forks source link

Tests 3.2.6 fails if promise is a function #18

Closed timjansen closed 11 years ago

timjansen commented 11 years ago

According to the spec, a promise can be either an object or a function. My Promises lib implements promises as a function, which causes test 3.2.6 (promises-aplus-tests/lib/tests/3.2.6.js:20:16) to fail. The test expects the promise to be an object.

domenic commented 11 years ago

Good catch, thank you. Will fix tonight.