From ce0356b78f640fb88ba7fac373a92af1f388f0fe Mon Sep 17 00:00:00 2001 From: Balint-H Date: Thu, 12 Mar 2026 16:32:41 +0000 Subject: [PATCH] Update relevant test for passive spring/damper settings --- unity/Tests/Editor/Components/MjGlobalSettingsTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unity/Tests/Editor/Components/MjGlobalSettingsTests.cs b/unity/Tests/Editor/Components/MjGlobalSettingsTests.cs index 1e567b7c..936d1625 100644 --- a/unity/Tests/Editor/Components/MjGlobalSettingsTests.cs +++ b/unity/Tests/Editor/Components/MjGlobalSettingsTests.cs @@ -92,7 +92,8 @@ public class MjGlobalSettingsGenerationTests { Assert.That(_doc.OuterXml, Does.Contain(@"frictionloss=")); Assert.That(_doc.OuterXml, Does.Contain(@"limit=")); Assert.That(_doc.OuterXml, Does.Contain(@"contact=")); - Assert.That(_doc.OuterXml, Does.Contain(@"passive=")); + Assert.That(_doc.OuterXml, Does.Contain(@"spring=")); + Assert.That(_doc.OuterXml, Does.Contain(@"damper=")); Assert.That(_doc.OuterXml, Does.Contain(@"clampctrl=")); Assert.That(_doc.OuterXml, Does.Contain(@"warmstart=")); Assert.That(_doc.OuterXml, Does.Contain(@"filterparent="));