visionmedia/mocha — pull request #423 by joliss (2012-05-11 12:43:00+00:00)
Title: Use ul/li elements instead of divs for better copy-and-pasting

Use ul/li elements instead of divs for better copy-and-pasting

This also adds a top-level #report ul to contain the .suite li elements.

I checked that visual styling remains unchanged, but copy-and-pasting
into plain-text from Firefox (though not from Chrome) on OS X is much
improved, so that the browser output can be more easily used for bug
reports.

------------------------------------

When I paste from Firefox, this patch changes it from

```
Rank
value
nextLower
nextHigher

expected { value: 11 } to equal null

letter
singletons
Suit
value
letter
color
singletons
```

to

```

Rank
value
nextLower
nextHigher

expected { value: 11 } to equal null

letter
singletons
Suit
value
letter
color
singletons
```

This is useful especially with longer test suites. E.g. when I pasted failure output from chai-jquery at https://github.com/chaijs/chai-jquery/issues/10 , I found the lack of indentation quite disorienting.