hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

common.ha (245B)


      1 // SPDX-License-Identifier: MPL-2.0
      2 // (c) Hare authors <https://harelang.org>
      3 
      4 let want_abort = false;
      5 
      6 // Expect the currently running test to abort. The test will fail if it doesn't
      7 // abort.
      8 export fn expectabort() void = want_abort = true;