]> code.delx.au - gnu-emacs-elpa/blobdiff - test/template-tests.el
company-dabbrev--search-buffer: Speed up
[gnu-emacs-elpa] / test / template-tests.el
index 4db3ce3cbff0d733b09525fb0aff879fbd5bbc79..da746bd72adde4a0b4a30f94b3de6ea2cba00cef 100644 (file)
   (with-temp-buffer
     (let ((text "createBookWithTitle:andAuthor:"))
       (insert text)
-      (company-clang-objc-templatify text)
+      (company-template-objc-templatify text)
       (should (equal "createBookWithTitle:arg0 andAuthor:arg1" (buffer-string)))
       (should (looking-at "arg0"))
       (should (null (overlay-get (company-template-field-at) 'display))))))
 
-(ert-deftest company-clang-objc-templatify ()
+(ert-deftest company-template-objc-templatify ()
   (with-temp-buffer
     (let ((text "createBookWithTitle:(NSString) andAuthor:(id)"))
       (insert text)
-      (company-clang-objc-templatify text)
+      (company-template-objc-templatify text)
       (should (equal (buffer-string) text))
       (company-template-field-assert-text "(NSString)"))))