all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: 25.0.50.1, ert: (should (bolp)) fails in batch-mode
Date: Sat, 19 Sep 2015 13:08:28 +0200	[thread overview]
Message-ID: <55FD422C.2080000@easy-emacs.de> (raw)
In-Reply-To: <8337yarhpn.fsf@gnu.org>


Am 19.09.2015 um 09:28 schrieb Eli Zaretskii:
>> Date: Sat, 19 Sep 2015 08:36:21 +0200

Assume test fails because

(font-lock-fontify-buffer)

doesn't work in batch-mode.

I.e. current implementation of general-close relies on face here - which 
should be changed.

;;;;;;;

(ert-deftest general-close-python-colon-test-2 ()
   (general-close-test-with-python-buffer
       "class TutorialApp(App):
     def build(self):
         return Button(text=\"Hello!\",
                       background_color=(0, 0, 1, 1)
                       font_size=150)
if __name__ == \"__main__\""
     (font-lock-fontify-buffer)
     (general-close)
     (should (eq (char-before) ?:))
     (should (eq 0 (current-indentation)))))

;;;;;;;

Thanks all!



  reply	other threads:[~2015-09-19 11:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-18 10:35 25.0.50.1, ert: (should (bolp)) fails in batch-mode Andreas Röhler
2015-09-18 11:10 ` Nicolas Richard
2015-09-18 13:51   ` Andreas Röhler
2015-09-18 14:09     ` Eli Zaretskii
2015-09-19  6:36       ` Andreas Röhler
2015-09-19  7:27         ` Tassilo Horn
2015-09-19  7:28         ` Eli Zaretskii
2015-09-19 11:08           ` Andreas Röhler [this message]
2015-09-19 20:08             ` Stefan Monnier
2015-09-20  8:21               ` Andreas Röhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55FD422C.2080000@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.