Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
90dba077
Commit
90dba077
authored
Aug 08, 2018
by
Tom Tromey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mod-test-sum-test for bignums
* test/src/emacs-module-tests.el (mod-test-sum-test): Update for bignums.
parent
5ebf062e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
test/src/emacs-module-tests.el
test/src/emacs-module-tests.el
+4
-4
No files found.
test/src/emacs-module-tests.el
View file @
90dba077
...
...
@@ -68,10 +68,10 @@
(
1+
#x1fffffff
)))
(
should
(
=
(
mod-test-sum
-1
(
1+
#x1fffffff
))
#x1fffffff
)))
(
should
-error
(
mod-test-sum
1
most-positive-fixnum
)
:type
'overflow-error
)
(
should
-error
(
mod-test-sum
-1
most-negative-fixnum
)
:type
'overflow-error
))
(
should
(
=
(
mod-test-sum
1
most-positive-fixnum
)
(
1+
most-positive-fixnum
))
)
(
should
(
=
(
mod-test-sum
-1
most-negative-fixnum
)
(
1-
most-negative-fixnum
))
))
(
ert-deftest
mod-test-sum-docstring
()
(
should
(
string=
(
documentation
'mod-test-sum
)
"Return A + B\n\n(fn a b)"
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment