[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/idris-mode 8a4ce46373 2/9: Delete AddClause.ibc between an
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/idris-mode 8a4ce46373 2/9: Delete AddClause.ibc between and after tests |
Date: |
Tue, 6 Dec 2022 05:59:06 -0500 (EST) |
branch: elpa/idris-mode
commit 8a4ce46373a753ea4e53aa8f8f3a5f3f11c5e8f6
Author: Marek L <nospam.keram@gmail.com>
Commit: Marek L <nospam.keram@gmail.com>
Delete AddClause.ibc between and after tests
Why:
When the *.ibc file become older than the *.idr
it leads to errors and probably to random failures on CI.
The error:
```
(invalid-function
(("(no file)" 0 -1 "Loading ./AddClause.ibc failed: Module needs
reloading:
SRC : \"./AddClause.idr\"
Modified at: 2022-12-03 13:47:16.442694399 UTC
IBC : \"./AddClause.ibc\"
Modified at: 2022-12-03 13:40:03.472179302 UTC
" nil)))
```
---
idris-tests.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/idris-tests.el b/idris-tests.el
index a3588a05bc..df41786c71 100644
--- a/idris-tests.el
+++ b/idris-tests.el
@@ -187,16 +187,19 @@ remain."
(goto-char (match-beginning 0))
(funcall-interactively 'idris-add-clause nil)
(should (looking-at-p "test \\w+ = \\?test_rhs"))
+ (idris-delete-ibc t)
+
(re-search-forward "(-) :")
(goto-char (1+ (match-beginning 0)))
(funcall-interactively 'idris-add-clause nil)
(should (looking-at-p "(-) = \\?\\w+_rhs"))
+
;; Cleanup
(erase-buffer)
(insert buffer-content)
(save-buffer)
- (kill-buffer)))
- (idris-quit))
+ (kill-buffer))
+ (idris-quit)))
(provide 'idris-tests)
;;; idris-tests.el ends here
- [nongnu] elpa/idris-mode updated (0cae4b8086 -> 4a36953e76), ELPA Syncer, 2022/12/06
- [nongnu] elpa/idris-mode 6fbd9cff31 6/9: Improve `idris-switch-working-directory` by, ELPA Syncer, 2022/12/06
- [nongnu] elpa/idris-mode 4a36953e76 9/9: Merge pull request #580 from keram/load-file-switch-dir-idris2, ELPA Syncer, 2022/12/06
- [nongnu] elpa/idris-mode ee551230ed 7/9: Merge pull request #579 from keram/tests-impro, ELPA Syncer, 2022/12/06
- [nongnu] elpa/idris-mode 71ab6a35e3 5/9: [semantic-highlight] Remove and rebuild overlays in file on reload only in changed area, ELPA Syncer, 2022/12/06
- [nongnu] elpa/idris-mode 7ebd8e721b 8/9: Merge pull request #581 from keram/highlight-partial, ELPA Syncer, 2022/12/06
- [nongnu] elpa/idris-mode d6ac9524f6 1/9: Simplify `idris-test-idris-type-search` by removing loading a file, ELPA Syncer, 2022/12/06
- [nongnu] elpa/idris-mode 928f785bb7 4/9: Remove conditional for srcdir in `idris-load-file` used to switch work directory, ELPA Syncer, 2022/12/06
- [nongnu] elpa/idris-mode d0d609bff7 3/9: Include tests from idris-navigate.el in idris-tests.el, ELPA Syncer, 2022/12/06
- [nongnu] elpa/idris-mode 8a4ce46373 2/9: Delete AddClause.ibc between and after tests,
ELPA Syncer <=