sindresorhus/eslint-tap — pull request #2 by dciccale (2014-08-28 08:56:40+00:00)
Title: fix tap syntax

I am using estlint-tap along with Jenkins TAP Plugin and I found it didn't worked because of some problem parsing the tap stream.

using [this validator](http://instanttap.appspot.com) and [this jenkins plugin](https://wiki.jenkins-ci.org/display/JENKINS/TAP+Plugin) I tested the example you show in the readme file of this repo and it didn't worked.

BAD:

```
TAP version 13
not ok 1
---
message: ‘require' is not defined.
severity: error
file: tap.js
line: 2
name: no-undef
…
1..1
```

In TAP, the number of tests have to be on top like this:

This does validates and works on the plugin

```
TAP version 13
1..1
not ok 1
---
message: ‘require' is not defined.
severity: error
file: tap.js
line: 2
name: no-undef
…
```

After validating only one error I tried to validate two or more this way, but also didn't work because of a parser issue I don't yet understand and that is if you have two tests and remove the single quotes of the first `'require'` the format is well parsed, if not it won't.

So in this pull request I fix the first issue about the position of the total tests run, but also removing all single quotes from the message.

Please consider this changes, since is the only way it is working in my Jenkins with the TAP plugin.