[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unescaped character literals
From: |
John Mastro |
Subject: |
Re: unescaped character literals |
Date: |
Thu, 8 Feb 2018 11:11:14 -0800 |
Emanuel Berg <moasen@zoho.com> wrote:
> Why does one use `should' ?
>
> (should FORM)
>
> Evaluate FORM. If it returns nil, abort the
> current test as failed.
>
> Returns the value of FORM.
>
> Isn't that what plain `or' do?
`should' is part of ERT, a testing tool. That's what the docstring is
referring to when it says "abort the current test as failed".
See (info "(ERT)")
John