From 65ab5d5c7eb99898a1b8054da7747ab1219ea347 Mon Sep 17 00:00:00 2001 From: skilesare Date: Wed, 3 Apr 2024 21:20:36 -0500 Subject: [PATCH] Update lib.mo Added a test with symptom capabilities --- src/lib.mo | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib.mo b/src/lib.mo index dc8b787..3968fa6 100644 --- a/src/lib.mo +++ b/src/lib.mo @@ -8,6 +8,12 @@ module { Debug.print("mops:1:end " # name); }; + public func testsys(name : Text, fn : () -> ()) { + Debug.print("mops:1:start " # name); + fn(); + Debug.print("mops:1:end " # name); + }; + public func suite(name : Text, fn : () -> ()) { test(name, fn); }; @@ -18,4 +24,4 @@ module { public let expect = _expect; public let fail = _fail; -}; \ No newline at end of file +};