diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2017-10-25 16:30:18 -0500 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2017-10-25 16:33:00 -0500 |
commit | 78199b44b1438295b79f562e9d240034c05e4171 (patch) | |
tree | 7c23b99c475161b159f0c453ebb536bf185df800 /src/test | |
parent | 937df1a99a263e73f820a66dada29cde2f58e847 (diff) | |
download | phosphor-dbus-monitor-78199b44b1438295b79f562e9d240034c05e4171.tar.gz phosphor-dbus-monitor-78199b44b1438295b79f562e9d240034c05e4171.zip |
Spelling fixes
Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.
Change-Id: I83c844373ea41d762367085cb16b01d31676e33d
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/propertywatchgentest.cpp | 4 | ||||
-rw-r--r-- | src/test/templates/callbackgentest.mako.hpp | 2 | ||||
-rw-r--r-- | src/test/templates/propertywatchgentest.mako.hpp | 2 | ||||
-rw-r--r-- | src/test/yaml/callbackgentest/one.yaml | 2 | ||||
-rw-r--r-- | src/test/yaml/callbackgentest/two.yaml | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/test/propertywatchgentest.cpp b/src/test/propertywatchgentest.cpp index afd9dbc..5973f92 100644 --- a/src/test/propertywatchgentest.cpp +++ b/src/test/propertywatchgentest.cpp @@ -62,7 +62,7 @@ TEST(PropertyWatchGenTest, storageCount) TEST(PropertyWatchGenTest, IndiciesSameSize) { - ASSERT_EQ(sizeof(expectedIndicies), sizeof(indicies)); + ASSERT_EQ(sizeof(expectedIndicies), sizeof(indices)); } TEST(PropertyWatchGenTest, WatchesSameSize) @@ -85,7 +85,7 @@ TEST(PropertyWatchGenTest, IndiciesSameContent) size_t i; for (i = 0; i < expectedIndicies.size(); ++i) { - ASSERT_EQ(indicies[i], + ASSERT_EQ(indices[i], expectedIndicies[i]); } } diff --git a/src/test/templates/callbackgentest.mako.hpp b/src/test/templates/callbackgentest.mako.hpp index f387c23..44a02a4 100644 --- a/src/test/templates/callbackgentest.mako.hpp +++ b/src/test/templates/callbackgentest.mako.hpp @@ -1,6 +1,6 @@ auto storageCount = ${len(instances)}; -const std::array<Index, ${len(instancegroups)}> indicies = {{ +const std::array<Index, ${len(instancegroups)}> indices = {{ % for g in instancegroups: { % for i in g.members: diff --git a/src/test/templates/propertywatchgentest.mako.hpp b/src/test/templates/propertywatchgentest.mako.hpp index ac4dbee..4fe3be8 100644 --- a/src/test/templates/propertywatchgentest.mako.hpp +++ b/src/test/templates/propertywatchgentest.mako.hpp @@ -1,6 +1,6 @@ auto storageCount = ${len(instances)}; -const std::array<Index, ${len(instancegroups)}> indicies = {{ +const std::array<Index, ${len(instancegroups)}> indices = {{ % for g in instancegroups: { % for i in g.members: diff --git a/src/test/yaml/callbackgentest/one.yaml b/src/test/yaml/callbackgentest/one.yaml index fa2b814..abd1602 100644 --- a/src/test/yaml/callbackgentest/one.yaml +++ b/src/test/yaml/callbackgentest/one.yaml @@ -1,7 +1,7 @@ # Validate two callbacks that share an index # and a single callback with its own index. # -# Expecting three callbacks pointing at two indicies. +# Expecting three callbacks pointing at two indices. - name: test path group 1 class: group diff --git a/src/test/yaml/callbackgentest/two.yaml b/src/test/yaml/callbackgentest/two.yaml index 1f61e3b..f7f1d8f 100644 --- a/src/test/yaml/callbackgentest/two.yaml +++ b/src/test/yaml/callbackgentest/two.yaml @@ -1,4 +1,4 @@ -# Validate the same callback name works in differnt config files. +# Validate the same callback name works in different config files. - name: test path group 1 class: group |