mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
Fix various typos in source code
This only touches code comments, class names, documentation, enumeration names and tests.
This commit is contained in:
parent
9e97ecabb6
commit
114de63d88
63 changed files with 104 additions and 104 deletions
|
@ -87,7 +87,7 @@ TEST(machines, getMachinesWithCommentsAndSemicolonSeparator) {
|
|||
|
||||
TEST(machines, getMachinesWithFunnyWhitespace) {
|
||||
auto actual = Machine::parseConfig({},
|
||||
" # commment ; comment\n"
|
||||
" # comment ; comment\n"
|
||||
" nix@scratchy.labs.cs.uu.nl ; nix@itchy.labs.cs.uu.nl \n"
|
||||
"\n \n"
|
||||
"\n ;;; \n"
|
||||
|
|
|
@ -46,7 +46,7 @@ TEST(OutputsSpec, names_underscore) {
|
|||
ASSERT_EQ(expected.to_string(), str);
|
||||
}
|
||||
|
||||
TEST(OutputsSpec, names_numberic) {
|
||||
TEST(OutputsSpec, names_numeric) {
|
||||
std::string_view str = "01";
|
||||
OutputsSpec expected = OutputsSpec::Names { "01" };
|
||||
ASSERT_EQ(OutputsSpec::parse(str), expected);
|
||||
|
@ -126,7 +126,7 @@ TEST_DONT_PARSE(star_second, "^foo,*")
|
|||
|
||||
#undef TEST_DONT_PARSE
|
||||
|
||||
TEST(ExtendedOutputsSpec, defeault) {
|
||||
TEST(ExtendedOutputsSpec, default) {
|
||||
std::string_view str = "foo";
|
||||
auto [prefix, extendedOutputsSpec] = ExtendedOutputsSpec::parse(str);
|
||||
ASSERT_EQ(prefix, "foo");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue