kinow/tap4j — Issue #3: tap4j parser wrongly interprets indented test as yaml diagnostics
Author: konobi
Created: 2012-03-08 09:31:03+00:00
State: open

Hey there,

I've run across this now in several occasions where our test scripts (for unfortunate reasons is necessary) output some indented JSON into the STDOUT stream. Because of the indent and it looks like YAML, it gets interpreted as yamlish, even though it's not within '---' and '...'.

I've created a test case, verified it's failed and even got a small patch that fixes it. It may be necessary to handle it differently, so I did it up as a gist.

https://gist.github.com/3a3359333709963ccaca