From 3913ed2f8f76d8a5a2e9c37dc2997b6c3c9d712d Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Sat, 22 May 2021 01:10:05 -0600 Subject: [PATCH] Remove a broken link --- sandwich-site/docs/intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sandwich-site/docs/intro.md b/sandwich-site/docs/intro.md index d2854da..1519f41 100644 --- a/sandwich-site/docs/intro.md +++ b/sandwich-site/docs/intro.md @@ -43,7 +43,7 @@ main = runSandwichWithCommandLineArgs defaultOptions basic The tests above assert things using expectation functions like `shouldBe`. There are a variety of these in [Test.Sandwich.Expectations](http://hackage.haskell.org/package/sandwich/docs/Test-Sandwich-Expectations.html) such as `shouldNotBe`, `shouldContain`, etc., and they are similar to other test frameworks. -These functions simply throw an exception of type [FailureReason](http://hackage.haskell.org/package/sandwich/docs/Test-Sandwich-Misc.html#t:FailureReason) which the Sandwich machinery catches and displays. Don't worry, you can throw other exceptions too. You can even write instances for your [custom exception types](extensions/advanced#formatting-custom-exceptions) so that they display nicely in Sandwich [formatters](formatters/tui). +These functions simply throw an exception of type [FailureReason](http://hackage.haskell.org/package/sandwich/docs/Test-Sandwich-Misc.html#t:FailureReason) which the Sandwich machinery catches and displays. Don't worry, you can throw other exceptions too. You can even write instances for your [custom exception types](#) so that they display nicely in Sandwich [formatters](formatters/tui). To fail a test with a string message, just call [expectationFailure](http://hackage.haskell.org/package/sandwich/docs/Test-Sandwich-Expectations.html#v:expectationFailure). You can also mark a test as "pending" by calling the [pending](http://hackage.haskell.org/package/sandwich/docs/Test-Sandwich-Expectations.html#v:pending) function anywhere in the test, or by changing `it` to `xit`.