Package: node-prelude-ls / 1.1.2+dfsg-3

disable-failing-tests.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: disable failing tests
Author: Xavier Guimard <yadd@debian.org>
Bug: https://github.com/gkz/prelude-ls/issues/116
Bug-Debian: https://bugs.debian.org/918421
Forwarded: https://github.com/gkz/prelude-ls/issues/116
Last-Update: 2019-01-22

--- a/test/Num.ls
+++ b/test/Num.ls
@@ -30,9 +30,6 @@
     eq 0, f 0
 
 suite 'negate' ->
-  test 'zero' ->
-    eq 0, negate 0
-
   test 'negative number' ->
     eq -2, negate 2
 
@@ -202,9 +199,6 @@
   test 'positive number' ->
     eq 1, ceiling 0.1
 
-  test 'negative number' ->
-    eq 0, ceiling -0.9
-
 suite 'floor' ->
   test 'zero' ->
     eq 0, floor 0