From 2643fa488f7fabc65e353effc7454aa5d4b00451 Mon Sep 17 00:00:00 2001 From: Ruth Baker <33294286+ruthmoog@users.noreply.github.com> Date: Fri, 21 Jul 2023 14:02:13 +0100 Subject: [PATCH] Fix links to code examples in repo (#689) - Any links like https://github.com/quii/learn-go-with-tests/**blob**/main/math/v7c/clockface were linking to a 404 - they are replaced with https://github.com/quii/learn-go-with-tests/**tree**/main/math/v7c/clockface --- math.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/math.md b/math.md index 394fcbce..ed0a9288 100644 --- a/math.md +++ b/math.md @@ -1142,7 +1142,7 @@ func main() { } ``` -This is what [things should look like now](https://github.com/quii/learn-go-with-tests/blob/main/math/v7b/clockface). +This is what [things should look like now](https://github.com/quii/learn-go-with-tests/tree/main/math/v7b/clockface). And we can write a test for another time following the same pattern, but not before... @@ -1269,7 +1269,7 @@ func containsLine(l Line, ls []Line) bool { } ``` -Here's what [it looks like](https://github.com/quii/learn-go-with-tests/blob/main/math/v7c/clockface) +Here's what [it looks like](https://github.com/quii/learn-go-with-tests/tree/main/math/v7c/clockface) Now _that's_ what I call an acceptance test! @@ -1431,7 +1431,7 @@ PASS ok clockface 0.007s ``` -Nice and easy. This is what things [look like now](https://github.com/quii/learn-go-with-tests/blob/main/math/v8/clockface/clockface_acceptance_test.go) +Nice and easy. This is what things [look like now](https://github.com/quii/learn-go-with-tests/tree/main/math/v8/clockface/clockface_acceptance_test.go) ### Repeat for new requirements