Hi,
consider the following code:
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