branch: externals/company
commit 4bcef32d7f0b69a6f02627707f7599ab9340c012
Author: YugaEgo <[email protected]>
Commit: YugaEgo <[email protected]>
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