1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-22 09:38:01 +02:00

Fixed attribute processing

This commit is contained in:
Brian Fiete 2024-10-25 18:32:42 -04:00
parent 1f539595e0
commit e263f3a37f

View file

@ -388,20 +388,16 @@ namespace IDE
testEntry.mLine = int32.Parse(cmdParts[3]).Get();
testEntry.mColumn = int32.Parse(cmdParts[4]).Get();
List<StringView> attributes = scope .(attribs.Split('\a'));
for(var i in attributes)
for (var i in attributes)
{
if(i.StartsWith('\v'))
{
if(i == "Sf")
testEntry.mShouldFail = true;
else if(i == "Pr")
testEntry.mProfile = true;
else if(i == "Ig")
testEntry.mIgnore = true;
}
else if(i.StartsWith("Name"))
if (i == "Sf")
testEntry.mShouldFail = true;
else if (i == "Pr")
testEntry.mProfile = true;
else if (i == "Ig")
testEntry.mIgnore = true;
else if (i.StartsWith("Name"))
{
testEntry.mName.Clear();
scope String(i.Substring("Name".Length)).Escape(testEntry.mName);