Skip to content

Commit e072cf7

Browse files
committed
fix typos, update link to 'Tidy First?'
1 parent a7b7a2a commit e072cf7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

chapter_12_organising_test_files.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ and wait until we're back to a fully passing test suite before refactoring.
159159
160160
Kent Beck has a book-length exploration of the tradeoffs
161161
of refactor-now vs refactor-later, called
162-
https://learning.oreilly.com/library/view/tidy-first/9781098151232/[Tidy First?]
162+
https://www.oreilly.com/library/view/tidy-first/9781098151232/[Tidy First?]
163163
**********************************************************************
164164

165165

@@ -291,7 +291,7 @@ Some people like to use them a lot in Django code
291291
(e.g., your views might import models using `from .models import List`,
292292
instead of `from list.models`).
293293
Ultimately this is a matter of personal preference.
294-
I prefer to use relative imports only when I'm super-super
294+
I prefer to use relative imports only when I'm super-super confident
295295
that the relative position of the thing I'm importing won't change.
296296
That applies in this case because I know for sure
297297
all the tests will sit next to _base.py_, which they inherit from.
@@ -385,7 +385,7 @@ For now, let's commit!
385385
----
386386
$ *git status*
387387
$ *git add src/functional_tests*
388-
$ *git commit -m "Moved Fts into their own individual files"*
388+
$ *git commit -m "Moved FTs into their own individual files"*
389389
----
390390

391391
Great. We've split our functional tests nicely out into different files.
@@ -631,7 +631,7 @@ through what happened:
631631
<3> To explain where the exception has actually come from,
632632
the traceback takes us back into _test_list_item_validation.py_
633633
and inside the body of the `lambda` function,
634-
and tells us that it the attempt to find the `.invalid-feedback` element
634+
and tells us that the attempt to find the `.invalid-feedback` element
635635
that failed.
636636

637637

0 commit comments

Comments
 (0)