[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org d6dd92d442 3/9: * testing/lisp/test-ob-haskell-ghci
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org d6dd92d442 3/9: * testing/lisp/test-ob-haskell-ghci.el: Fix some tests |
Date: |
Fri, 8 Sep 2023 06:58:50 -0400 (EDT) |
branch: externals/org
commit d6dd92d442cce800ec8e7c3dc226ebc717e366be
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
* testing/lisp/test-ob-haskell-ghci.el: Fix some tests
(ob-haskell/2D-lists-multilines):
(ob-haskell/ghci-info): Fix incorrect test assertions.
---
testing/lisp/test-ob-haskell-ghci.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/testing/lisp/test-ob-haskell-ghci.el
b/testing/lisp/test-ob-haskell-ghci.el
index 9201038585..e34dfacd9d 100644
--- a/testing/lisp/test-ob-haskell-ghci.el
+++ b/testing/lisp/test-ob-haskell-ghci.el
@@ -237,8 +237,7 @@ take 10 primes
(ert-deftest ob-haskell/2D-lists-multilines ()
"Evaluation of nested lists into a table, as multilines."
- :expected-result :failed
- (should (equal '((1 2 3) (4 5 6))
+ (should (equal '((1 2 3) (4 5 6) (7 8 9))
(test-ob-haskell-ghci "" "
:{
[ [1..3]
@@ -421,8 +420,9 @@ return ()
(ert-deftest ob-haskell/ghci-info ()
"The ghci meta command ':info' ."
- (should (equal "repeat :: a -> [a] -- Defined in ‘GHC.List’"
- (test-ob-haskell-ghci ":results output" ":info repeat"))))
+ (should (string-match-p
+ "repeat :: a -> \\[a\\][ \t]+-- Defined in ‘GHC.List’"
+ (test-ob-haskell-ghci ":results output" ":info repeat"))))
(provide 'test-ob-haskell-ghci)
- [elpa] externals/org updated (1f88acd013 -> 163bafb43d), ELPA Syncer, 2023/09/08
- [elpa] externals/org 91c52e2ab6 1/9: ob-haskell: Add tests for GHCi, ELPA Syncer, 2023/09/08
- [elpa] externals/org 5bffb9a1e3 2/9: org-babel-haskell-initiate-session: Remove secondary prompt, ELPA Syncer, 2023/09/08
- [elpa] externals/org d6dd92d442 3/9: * testing/lisp/test-ob-haskell-ghci.el: Fix some tests,
ELPA Syncer <=
- [elpa] externals/org eed3ac9f78 8/9: * lisp/ob-haskell.el (inferior-haskell-root-dir): Declare external variable, ELPA Syncer, 2023/09/08
- [elpa] externals/org b852172170 4/9: * testing/lisp/test-ob-haskell-ghci.el: Enable fixed tests, ELPA Syncer, 2023/09/08
- [elpa] externals/org 924c2dd836 5/9: lisp/ob-haskell: Request the last value from GHCi, ELPA Syncer, 2023/09/08
- [elpa] externals/org 36a786f7f9 6/9: ob-haskell: Implement sessions, ELPA Syncer, 2023/09/08
- [elpa] externals/org 3674e40247 7/9: * testing/lisp/test-ob-haskell-ghci.el: Test output without EOL, ELPA Syncer, 2023/09/08
- [elpa] externals/org 163bafb43d 9/9: * lisp/ob-dot.el (org-babel-execute:dot): Document all the function arguments, ELPA Syncer, 2023/09/08