emacs-elpa-diffs
[Top][All Lists]
Advanced

[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:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]