]> code.delx.au - gnu-emacs/commitdiff
* test/automated/ruby-mode-tests.el:
authorBozhidar Batsov <bozhidar@batsov.com>
Wed, 20 Nov 2013 11:01:31 +0000 (13:01 +0200)
committerBozhidar Batsov <bozhidar@batsov.com>
Wed, 20 Nov 2013 11:01:31 +0000 (13:01 +0200)
Add a failing test for bug #15874.

test/automated/ruby-mode-tests.el

index e84f55be93df9c383729bfab4045d04374f772c1..efed67d9d914d1645be86bbdadc841a50c560fa5 100644 (file)
@@ -91,6 +91,9 @@ VALUES-PLIST is a list with alternating index and value elements."
 (ert-deftest ruby-no-heredoc-inside-quotes ()
   (ruby-assert-state "\"<<\", \"\",\nfoo" 3 nil))
 
+(ert-deftest ruby-exit!-font-lock ()
+  (ruby-assert-face "exit!" 5 font-lock-builtin-face))
+
 (ert-deftest ruby-deep-indent ()
   (let ((ruby-deep-arglist nil)
         (ruby-deep-indent-paren '(?\( ?\{ ?\[ ?\] t)))