I agree too. However, using ok function in the preceding way appears to me that the test is still focusing on checking the function outcome. Are you happy to apply the following popular Java idiom?

```javascript
try {
  jQuery.parseHTML( ... );
} catch (e) {
  ok( false ); // would make more sense if qunit supports fail()
}
```