diff --git a/test/xml/xml_native_writer_test.cc b/test/xml/xml_native_writer_test.cc index d6a784e2..1b8e2eb2 100644 --- a/test/xml/xml_native_writer_test.cc +++ b/test/xml/xml_native_writer_test.cc @@ -1408,7 +1408,7 @@ TEST_F(XMLWriterTest, WriteReadCompare) { // ---------------- test CopyBack functionality (decompiler) ------------------ using DecompilerTest = MujocoTest; -TEST_F(DecompilerTest, SavesStatitics) { +TEST_F(DecompilerTest, SavesStatistics) { static constexpr char xml[] = R"( @@ -1432,7 +1432,7 @@ TEST_F(DecompilerTest, SavesStatitics) { mj_deleteModel(model); } -TEST_F(DecompilerTest, DoesntSaveInferredStatitics) { +TEST_F(DecompilerTest, DoesntSaveInferredStatistics) { static constexpr char xml[] = R"( diff --git a/unity/Runtime/Importer/MjXmlModifiers.cs b/unity/Runtime/Importer/MjXmlModifiers.cs index d9d74040..8408dbfa 100644 --- a/unity/Runtime/Importer/MjXmlModifiers.cs +++ b/unity/Runtime/Importer/MjXmlModifiers.cs @@ -53,7 +53,7 @@ namespace Mujoco { CopyAttributesOverwriteExisting(defaultAncestor, aggregateDefaults); } } - // Add the merged attribiutes to the node, without overwriting the existing values. + // Add the merged attributes to the node, without overwriting the existing values. CopyAttributes(aggregateDefaults, element); } @@ -83,7 +83,7 @@ namespace Mujoco { while (element != null) { var className = element.GetStringAttribute("childclass", string.Empty); if (element == modifiedElement) { - // "class" attribute does not partcipate in building of the inheritance tree, and so we're + // "class" attribute does not participate in building of the inheritance tree, and so we're // only considering it if it's defined on the very element we're trying to modify. className = element.GetStringAttribute("class", className); }