Skip to content

Commit

Permalink
Merge pull request #11 from skilesare/patch-1
Browse files Browse the repository at this point in the history
Update lib.mo
  • Loading branch information
ZenVoich authored Apr 5, 2024
2 parents d91f1a0 + 65ab5d5 commit 36dcc60
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib.mo
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ module {
Debug.print("mops:1:end " # name);
};

public func testsys<system>(name : Text, fn : <system>() -> ()) {
Debug.print("mops:1:start " # name);
fn<system>();
Debug.print("mops:1:end " # name);
};

public func suite(name : Text, fn : () -> ()) {
test(name, fn);
};
Expand All @@ -18,4 +24,4 @@ module {

public let expect = _expect;
public let fail = _fail;
};
};

0 comments on commit 36dcc60

Please sign in to comment.