On 17 Mar 2007, at 17:36, brian d foy wrote:
if you're going to use a different starting character for these
messages, how about a [ ? Follow the start of the string by a real
word:

   not ok 1
   [fail] Failed test in foo.t line 2
   ok 2
   [fatal] WHOA!  The fabric of the universe just broke down!
   [damn it, Jim, I'm a doctor, not a programmer!] This should never
happen!  Please contact the author immediately!

It doesn't set it off visually as nicely as the repeated bangs, but
that's not the goal here. People want to read this stuff
programmatically. :)

I'm still not clear what this notation provides that we can't do with the new YAML machine readable diagnostic syntax. What are the supposed benefits? Concision?

not ok 1
---
message: Failed test in foo.t line 2
severity: fail
data:
  expected: this
  got: that
...
ok 2
---
message: WHOA! The fabric of the universe just broke down!
severity: fatal
...

--
Andy Armstrong, hexten.net

Reply via email to