@@ -843,20 +843,8 @@ that the test calls contains a call to any one of these, lint will mark the test
843843
844844
845845## ` test-without-fail-case-include-indexing-as-fallible `
846- Whether to consider indexing as a fallible operation while assesing if a test can fail.
847- Indexing is fallible, and thus the a test that is doing that can fail but it is likely
848- that tests that fail this way were not intended.
849-
850- If set true, the lint will consider indexing into a slice a failable case
851- and won't lint tests that has some sort of indexing. This analysis still done
852- in a interprocedural manner. Meaning that any indexing opeartion done inside of
853- a function that the test calls will still result the test getting marked fallible.
854-
855- By default this is set to ` false ` . That is because from a usability perspective,
856- indexing an array is not the intended way to fail a test. So setting this ` true `
857- reduces false positives but makes the analysis more focused on possible byproducts
858- of a test. That is the set of operations to get the point we assert something rather
859- than the existance of asserting that thing.
846+ Whether to consider indexing (` a[b] ` ) as a fallible operation while checking if a test can fail.
847+ Indexing is fallible, and thus it can panic, but this panic is likely not intended to be tested.
860848
861849** Default Value:** ` false `
862850
@@ -866,9 +854,9 @@ than the existance of asserting that thing.
866854
867855
868856## ` test-without-fail-case-non-fallible-paths `
869- List of full paths of macros and functions, that we want to mark as "not going to fail" .
870- This allows us to make the lint more focused on actual short comings of our test suite
871- by marking common routines non-fallible, even though they are fallible .
857+ List of full paths of macros and functions, that will not count as fallible .
858+ This allows the user to make the lint more focused on actual short comings of the test suite
859+ by marking common routines non-fallible, even though they are.
872860
873861** Default Value:** ` ["std::print", "std::println", "std::dbg", "std::eprint", "std::eprintln"] `
874862
0 commit comments