public void renders_the_message_of_StorytellerAssertionException() { var exception = new StorytellerAssertionException("It failed!"); ExceptionFormatting.ToDisplayMessage(exception, out display) .ShouldBe("It failed!"); display.ShouldBe(ErrorDisplay.markdown); }
public void unwrap_storyteller_assertion_exceptions() { var ex = new StorytellerAssertionException("Something is wrong"); CellResult.Error("foo", ex).error.ShouldBe("Something is wrong"); }