branch: externals/company
commit b2df4b680aacc4534d60b79c871d0e4c37137d41
Merge: 23f44eba28 4bcef32d7f
Author: Dmitry Gutov <dmi...@gutov.dev>
Commit: GitHub <nore...@github.com>

    Merge pull request #1391 from yugaego/fix-compilation
    
    Fix byte-compiler warning
---
 test/frontends-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/frontends-tests.el b/test/frontends-tests.el
index a824dbd903..718d4d361a 100644
--- a/test/frontends-tests.el
+++ b/test/frontends-tests.el
@@ -486,7 +486,7 @@
              "-*-foobar zz"))))
 
 (ert-deftest company-modify-line-with-invisible-prop ()
-  (let ((str "-*-foobar")
+  (let ((str (copy-sequence "-*-foobar"))
         (buffer-invisibility-spec '((outline . t) t)))
     (put-text-property 1 2 'invisible 'foo str)
     (should (equal

Reply via email to