Skip to content

Commit

Permalink
fix(math): clarify which test file to use (#699)
Browse files Browse the repository at this point in the history
A section of the math chapter says to add an Svg struct to a
`clockface_assembly_test` file, but that's not the name of a test file
that's used in the clockface example. Because the next state of the code
(v7b) shows that struct (and the corresponding code) in the
`clockface_acceptance_test` file, this MR updates the name of the
mentioned test file from `clockface_assembly_test` to
`clockface_acceptance_test`.
  • Loading branch information
heygarrett authored Sep 12, 2023
1 parent 61b4b6e commit a8aad5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion math.md
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ type Svg struct {

We could make adjustments to this if we needed to (like changing the name of the
struct to `SVG`) but it's definitely good enough to start us off. Paste the
struct into the `clockface_assembly_test` file and let's write a test with it:
struct into the `clockface_acceptance_test` file and let's write a test with it:

```go
func TestSVGWriterAtMidnight(t *testing.T) {
Expand Down

0 comments on commit a8aad5f

Please sign in to comment.