Add SoundEffectVolume & VocalsVolume to SConfig Test (#847)

* Add SoundEffectVolume

* Add VocalsVolume

* Trim trailing whitespace/newlines
This commit is contained in:
McSchneidar authored and GitHub committed 2026-03-20 21:03:24 +01:00
1 parent 12a19b46c5
commit e249baf2d4
2 files changed
+7 -2

No files matched your search

+4 -1
View File
@@ -419,7 +419,10 @@ namespace Tests.VocaluxeLib.XML
// Typename will be uppercase but input is lowercase
newXml = newXml.Replace("<String", "<string").Replace("</String", "</string");
string oldXml = File.ReadAllText(xmlPath);
Assert.AreEqual(oldXml, newXml, "Recontructed XML has differences.");
// Trim trailing whitespace/newlines
oldXml = oldXml.TrimEnd('\r', '\n', ' ', '\t');
newXml = newXml.TrimEnd('\r', '\n', ' ', '\t');
Assert.AreEqual(oldXml, newXml, "Reconstructed XML has differences.");
}
#endregion