Daily Usage Issues

Linebreak for better readability

Started by forki on 8,166 views

Hi,

consider the following code:

    public class when_showing_error
    {
        It should_be_aligned = () => 1.ShouldEqual(2);
    }


The report looks a bit strange, since it is not aligned:

Machine.Specifications.SpecificationException: Expected: [2]
But was: [1]
at Machine.Specifications.ShouldExtensionMethods.ShouldEqual[T](T actual, T expected)
...

It would be cool there would be a linebreak after the exception type, like:

Machine.Specifications.SpecificationException:
Expected: [2]
But was: [1]
at Machine.Specifications.ShouldExtensionMethods.ShouldEqual[T](T actual, T expected)
....

Or is this an issue in MSpec?


Cheers,
Steffen
This is actually the output directly from the test runner, so I'm afraid there's not much I can do here :(
That's ok,

I will send a pull-request to mspec.

Thanks.

Post a reply

Log in to reply.