kriszyp/compose — Issue #18: Test failure
Author: novemberborn
Created: 2012-02-20 16:02:29+00:00
State: open

After hacking around to get the tests working (see #17), three tests fail:

```

Running tests
testCompose: passed
testComposeWithConstruct: passed
testInheritance: passed
testInheritanceViaExtend: passed
testInheritance2: passed
testMultipleInheritance: failed
AssertionError: got

hi

, expected

Hello, World

at Object.equal (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/assert.js:15:16)
at Object.test (/Users/mark/Code/promised-io/compose/test/compose.js:93:9)
at runIteration (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:56:24)
at doTest (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:71:11)
at testCompleted (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:78:14)
at /Users/mark/Code/promised-io/compose/node_modules/patr/node_modules/promised-io/lib/promise.js:342:29
at runIteration (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:60:15)
at doTest (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:71:11)
at testCompleted (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:78:14)
at /Users/mark/Code/promised-io/compose/node_modules/patr/node_modules/promised-io/lib/promise.js:342:29
testAround: passed
testRequired: failed
Error: This method is required and no implementation has been provided
at Constructor.required [as render] (/Users/mark/Code/promised-io/compose/compose.js:192:9)
at Constructor.logAndRender (/Users/mark/Code/promised-io/compose/test/compose.js:115:9)
at Object.test (/Users/mark/Code/promised-io/compose/test/compose.js:128:9)
at runIteration (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:56:24)
at doTest (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:71:11)
at testCompleted (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:78:14)
at /Users/mark/Code/promised-io/compose/node_modules/patr/node_modules/promised-io/lib/promise.js:342:29
at runIteration (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:60:15)
at doTest (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:71:11)
at testFailed (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:89:17)
testCreate: passed
testInheritanceCreate: passed
testNestedCompose: passed
testFromAlias: passed
testFromExclude: passed
testComplexHierarchy: passed
testExtendError: passed
testAfterNothing: passed
testDiamond: failed
AssertionError: got 2, expected 1
at Object.equal (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/assert.js:15:16)
at Object.test (/Users/mark/Code/promised-io/compose/test/compose.js:316:9)
at runIteration (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:56:24)
at doTest (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:71:11)
at testCompleted (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:78:14)
at /Users/mark/Code/promised-io/compose/node_modules/patr/node_modules/promised-io/lib/promise.js:342:29
at runIteration (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:60:15)
at doTest (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:71:11)
at testCompleted (/Users/mark/Code/promised-io/compose/node_modules/patr/lib/runner.js:78:14)
at /Users/mark/Code/promised-io/compose/node_modules/patr/node_modules/promised-io/lib/promise.js:342:29
testNull: passed
testAdvice: passed
passed: 16/19
```