From b142edb3019af44bf4d96ca2b24a77f89c2ad0cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kochma=C5=84ski?= Date: Fri, 20 Jan 2017 07:34:21 +0100 Subject: [PATCH] tests: mix.0013: fix for osx OSX behaves slightly different. Related to #349. --- src/tests/normal-tests/mixed.lsp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tests/normal-tests/mixed.lsp b/src/tests/normal-tests/mixed.lsp index 49f1d76b4..4b4394160 100644 --- a/src/tests/normal-tests/mixed.lsp +++ b/src/tests/normal-tests/mixed.lsp @@ -220,4 +220,6 @@ (sleep 0.1) (let ((a 1.0) (b 0.0)) - (signals division-by-zero (/ a b)))) + ;; nb: normally operation signals `division-by-zero', but OSX + ;; signals `floating-point-overflow'. It's OK I suppose. + (signals arithmetic-error (/ a b))))