From e263f3a37f8a8a8126c2c857eae333f98d1452ce Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Fri, 25 Oct 2024 18:32:42 -0400 Subject: [PATCH] Fixed attribute processing --- IDE/src/TestManager.bf | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/IDE/src/TestManager.bf b/IDE/src/TestManager.bf index 8252463b..04d40ebc 100644 --- a/IDE/src/TestManager.bf +++ b/IDE/src/TestManager.bf @@ -388,20 +388,16 @@ namespace IDE testEntry.mLine = int32.Parse(cmdParts[3]).Get(); testEntry.mColumn = int32.Parse(cmdParts[4]).Get(); - List 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);