 (ert-deftest rust-test-two-character-quotes-in-a-row ()
   (with-temp-buffer
     (rust-mode)
-    (font-lock-ensure)
+    (font-lock-fontify-buffer)
     (insert "'\\n','a', fn")
     (font-lock-after-change-function 1 12 0)
 

  (with-temp-buffer
    (rust-mode)
    (insert str)
    (font-lock-ensure)
    (buffer-string)))

(defun rust-test-group-str-by-face (str)

    \n    // The previous line already has its spaces
}
")
    (font-lock-fontify-buffer)
    (goto-line 11)
    (move-to-column 0)
    (indent-for-tab-command)
