@@ -92,7 +92,7 @@ behavior of a function called ``add``; the first parameter is always of type
9292the second parameter, in this case, is what the value is expected to be; the
9393last value is what the value actually is. If ``add `` passes all of these
9494expectations, the test case, ``add_test_basic `` will pass; if any one of these
95- expectations fail , the test case will fail.
95+ expectations fails , the test case will fail.
9696
9797It is important to understand that a test case *fails * when any expectation is
9898violated; however, the test will continue running, potentially trying other
@@ -202,7 +202,7 @@ Example:
202202 kunit_test_suite(example_test_suite);
203203
204204 In the above example the test suite, ``example_test_suite ``, would run the test
205- cases ``example_test_foo ``, ``example_test_bar ``, and ``example_test_baz ``,
205+ cases ``example_test_foo ``, ``example_test_bar ``, and ``example_test_baz ``;
206206each would have ``example_test_init `` called immediately before it and would
207207have ``example_test_exit `` called immediately after it.
208208``kunit_test_suite(example_test_suite) `` registers the test suite with the
@@ -229,7 +229,7 @@ through some sort of indirection where a function is exposed as part of an API
229229such that the definition of that function can be changed without affecting the
230230rest of the code base. In the kernel this primarily comes from two constructs,
231231classes, structs that contain function pointers that are provided by the
232- implementer, and architecture specific functions which have definitions selected
232+ implementer, and architecture- specific functions which have definitions selected
233233at compile time.
234234
235235Classes
@@ -459,7 +459,7 @@ KUnit on non-UML architectures
459459By default KUnit uses UML as a way to provide dependencies for code under test.
460460Under most circumstances KUnit's usage of UML should be treated as an
461461implementation detail of how KUnit works under the hood. Nevertheless, there
462- are instances where being able to run architecture specific code or test
462+ are instances where being able to run architecture- specific code or test
463463against real hardware is desirable. For these reasons KUnit supports running on
464464other architectures.
465465
@@ -599,7 +599,7 @@ writing normal KUnit tests. One special caveat is that you have to reset
599599hardware state in between test cases; if this is not possible, you may only be
600600able to run one test case per invocation.
601601
602- .. TODO(brendanhiggins@google.com): Add an actual example of an architecture
602+ .. TODO(brendanhiggins@google.com): Add an actual example of an architecture-
603603 dependent KUnit test.
604604
605605 KUnit debugfs representation
0 commit comments