hyf

Context-aware query service for Radroots
git clone https://radroots.dev/git/hyf.git
Log | Files | Refs | README | LICENSE

harness_canary_pass.mojo (287B)


      1 from std.testing import TestSuite, assert_true
      2 
      3 from safe_tempdir import SafeTempDir
      4 
      5 
      6 def test_canary_passes() raises:
      7     with SafeTempDir() as temp_dir:
      8         assert_true(temp_dir.byte_length() > 0)
      9 
     10 
     11 def main() raises:
     12     TestSuite.discover_tests[__functions_in_module()]().run()