(val)
| 37 | } |
| 38 | |
| 39 | function eqAll(val) { |
| 40 | var end = arguments.length, msg = null; |
| 41 | if (typeof arguments[end-1] == "string") |
| 42 | msg = arguments[--end]; |
| 43 | if (i == end) throw new Error("No editors provided to eqAll"); |
| 44 | for (var i = 1; i < end; ++i) |
| 45 | eq(arguments[i].getValue(), val, msg) |
| 46 | } |
| 47 | |
| 48 | function testDoc(name, spec, run, opts, expectFail) { |
| 49 | if (!opts) opts = {}; |
no test coverage detected