(str)
| 741 | } |
| 742 | |
| 743 | function shouldContainInBody (str) { |
| 744 | return function (res) { |
| 745 | assert.ok(res.text.indexOf(str) !== -1, |
| 746 | 'expected \'' + res.text + '\' to contain \'' + str + '\'') |
| 747 | } |
| 748 | } |
| 749 | |
| 750 | function tryRequire (name) { |
| 751 | try { |