1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-01 08:03:02 +00:00

Add failure on top level error.

This commit is contained in:
bakpakin
2018-06-08 15:58:23 -04:00
parent 6d1ab414e4
commit 1690fee446
5 changed files with 42 additions and 32 deletions

View File

@@ -18,7 +18,7 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
(import test.helper :prefix "")
(import test.helper :prefix "" :exit true)
(start-suite 0)
(assert (= 10 (+ 1 2 3 4)) "addition")

View File

@@ -18,7 +18,7 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
(import test.helper :prefix "")
(import test.helper :prefix "" :exit true)
(start-suite 1)
(assert (= 400.0 (sqrt 160000)) "sqrt(160000)=400")