doc: Fix spelling errors identified by codespell in coments

From the output here:
src/qt/test/addressbooktests.cpp:185: wilcard ==> wildcard
src/qt/test/addressbooktests.cpp:191: wilcard ==> wildcard
src/test/miniscript_tests.cpp:227: nd ==> and, 2nd
src/test/versionbits_tests.cpp:260: everytime ==> every time
src/util/time.h:89: precicion ==> precision
src/util/time.h:90: precicion ==> precision
^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
https://cirrus-ci.com/task/5275612980969472?logs=lint#L849

I added 'nd' to the spelling.ignored-words.txt, as it's valid miniscript.
This commit is contained in:
Ben Woosley 2022-05-24 09:47:22 -05:00
parent 7008087548
commit bf209ac7a7
No known key found for this signature in database
GPG Key ID: 4D8CA4BA18040906
4 changed files with 6 additions and 5 deletions

View File

@ -182,13 +182,13 @@ void TestAddAddressesToSendBook(interfaces::Node& node)
search_line->setText("io"); search_line->setText("io");
QCOMPARE(table_view->model()->rowCount(), 2); QCOMPARE(table_view->model()->rowCount(), 2);
// Check wilcard "?". // Check wildcard "?".
search_line->setText("io?new"); search_line->setText("io?new");
QCOMPARE(table_view->model()->rowCount(), 0); QCOMPARE(table_view->model()->rowCount(), 0);
search_line->setText("io???new"); search_line->setText("io???new");
QCOMPARE(table_view->model()->rowCount(), 2); QCOMPARE(table_view->model()->rowCount(), 2);
// Check wilcard "*". // Check wildcard "*".
search_line->setText("io*new"); search_line->setText("io*new");
QCOMPARE(table_view->model()->rowCount(), 2); QCOMPARE(table_view->model()->rowCount(), 2);
search_line->setText("*"); search_line->setText("*");

View File

@ -86,8 +86,8 @@ void SetMockTime(std::chrono::seconds mock_time_in);
std::chrono::seconds GetMockTime(); std::chrono::seconds GetMockTime();
/** /**
* Return the current time point cast to the given precicion. Only use this * Return the current time point cast to the given precision. Only use this
* when an exact precicion is needed, otherwise use T::clock::now() directly. * when an exact precision is needed, otherwise use T::clock::now() directly.
*/ */
template <typename T> template <typename T>
T Now() T Now()

View File

@ -11,6 +11,7 @@ inout
invokable invokable
keypair keypair
mor mor
nd
nin nin
ser ser
unparseable unparseable