[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] scratch/el-mock 6cfbc9de8f 57/64: Merge pull request #32 from p
From: |
Stefan Monnier |
Subject: |
[nongnu] scratch/el-mock 6cfbc9de8f 57/64: Merge pull request #32 from peterbecich/ci-coverage-emacs-28 |
Date: |
Mon, 28 Aug 2023 23:01:42 -0400 (EDT) |
branch: scratch/el-mock
commit 6cfbc9de8f1927295dca6864907fe4156bd71910
Merge: 6ebfe64410 88038b382c
Author: Peter Becich <peterbecich@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #32 from peterbecich/ci-coverage-emacs-28
CI coverage for Emacs 28.1; fix 80 character width warning
---
.github/workflows/main.yml | 2 +-
el-mock.el | 12 ++++++++----
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 747f74b97c..102377d833 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
- emacs_version: ['24.4', '24.5', '25.1', '25.2', '25.3', '26.1',
'27.1', 'snapshot']
+ emacs_version: ['24.4', '24.5', '25.1', '25.2', '25.3', '26.1',
'27.1', '28.1', 'snapshot']
cask_version: ['snapshot']
steps:
diff --git a/el-mock.el b/el-mock.el
index 136d067df8..990f7a4207 100644
--- a/el-mock.el
+++ b/el-mock.el
@@ -144,7 +144,8 @@
Prepare for mock/stub, call BODY-FN, and teardown mock/stub.
For developer:
-When you adapt Emacs Lisp Mock to a testing framework, wrap test method around
this function."
+When you adapt Emacs Lisp Mock to a testing framework,
+wrap test method around this function."
(let (mock-verify-list
-stubbed-functions
-mocked-functions
@@ -186,7 +187,8 @@ Example:
(defmacro stub (function &rest rest)
"Create a stub for FUNCTION.
-Stubs are temporary functions which accept any arguments and return constant
value.
+Stubs are temporary functions which accept any arguments
+and return constant value.
Stubs are removed outside `with-mock' (`with-stub' is an alias) and `mocklet'.
Synopsis:
@@ -214,8 +216,10 @@ Example:
(defmacro mock (func-spec &rest rest)
"Create a mock for function described by FUNC-SPEC.
-Mocks are temporary functions which accept specified arguments and return
constant value.
-If mocked functions are not called or called by different arguments, an
`mock-error' occurs.
+Mocks are temporary functions which accept specified arguments
+and return constant value.
+If mocked functions are not called or called by different arguments,
+an `mock-error' occurs.
Mocks are removed outside `with-mock' and `mocklet'.
Synopsis:
- [nongnu] scratch/el-mock 5084045989 37/64: Fix incf function symbol to cl-incf, (continued)
- [nongnu] scratch/el-mock 5084045989 37/64: Fix incf function symbol to cl-incf, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock 9ddda16de4 39/64: Switch all Elisp files to lexical binding, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock e301749423 41/64: Merge pull request #21 from phst/compile-error, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock 06fc9c4cac 43/64: Specify language of code blocks explicitly, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock 5df1d3a956 47/64: Merge pull request #12 from AdrieanKhisbe/improved-ci, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock 3a49f4c138 49/64: Remove Travis configuration, replace Build status in readme, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock a843820161 52/64: Update preserve-backtrace test for Emacs 26+, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock 01cf866b4b 51/64: Fix typo, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock 6ebfe64410 54/64: Test Emacs 25.3, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock 9d7b886955 55/64: CI coverage for Emacs 28.1, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock 6cfbc9de8f 57/64: Merge pull request #32 from peterbecich/ci-coverage-emacs-28,
Stefan Monnier <=
- [nongnu] scratch/el-mock 6f29ddf7c3 58/64: Consolidate stub/mock setup into `mock--stub-setup`, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock accba69638 63/64: * el-mock.el: Clean up the namespace usage, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock 18cee97bf6 62/64: Don't expose the `-*-functions` vars in the macroexpanded code, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock 12a0ce79fb 61/64: Replace obsolete `defadvice` with `advice-add`, Stefan Monnier, 2023/08/28
- [nongnu] scratch/el-mock 80ded09125 64/64: Make `mocklet` better compatible with `lexical-binding`, Stefan Monnier, 2023/08/28