Skip to content

Commit

Permalink
[test] Mark tests as passing.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfusik committed Apr 10, 2024
1 parent da116ef commit bdc91c9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/DynamicDictionary.fu
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ public static class Test

public static bool Run()
{
return GetMap().Count == 0; //FAIL: c leak TODO
return GetMap().Count == 0;
}
}
2 changes: 1 addition & 1 deletion test/RegexMatchReuse.fu
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public class Test
string() s = "foo bar"; //FAIL: cl
if (!m.Find(s, "\\w{3}")) //FAIL: swift TODO
return false;
if (m.Value != "foo") //FAIL: c leak TODO
if (m.Value != "foo")
return false;
if (!m.Find(s, "b\\w\\w")) //FAIL: c leak TODO
return false;
Expand Down
2 changes: 1 addition & 1 deletion test/StForeachSortedDictionary.fu
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public static class Test
int lastKey = 0;
int keySum = 0;
int valueSum = 0;
foreach ((int key, int value) in dict) { //FAIL: c - needs glib-2.68
foreach ((int key, int value) in dict) {
if (lastKey >= key)
return false;
lastKey = key;
Expand Down
2 changes: 1 addition & 1 deletion test/StringSubstringTemporary.fu
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public static class Test
public static bool Run()
{
string s = "foobar";
Accept(s.Substring(1, 3)); //FAIL: swift TODO; cl
Accept(s.Substring(1, 3)); //FAIL: cl
bool b = Accept(s.Substring(1, 3));
if (!b)
return false;
Expand Down

0 comments on commit bdc91c9

Please sign in to comment.