From 0e2f49fd1239eb8acb37c8f884c3d67043c162ad Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sat, 26 Oct 2024 06:24:22 -0400 Subject: [PATCH] Wasm test attribute fix --- BeefLibs/corlib/src/Internal.bf | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/BeefLibs/corlib/src/Internal.bf b/BeefLibs/corlib/src/Internal.bf index 44f0b8fb..a6b6c7a5 100644 --- a/BeefLibs/corlib/src/Internal.bf +++ b/BeefLibs/corlib/src/Internal.bf @@ -135,15 +135,12 @@ namespace System List attributes = scope .(attribs.Split('\a')); 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; - } + 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();