branch: externals/phpinspect
commit 04606a475678a62cc70bd1a8d8f4b7480f614e1a
Author: Hugo Thunnissen <de...@hugot.nl>
Commit: Hugo Thunnissen <de...@hugot.nl>

    Fix test
---
 test/test-index.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/test-index.el b/test/test-index.el
index cfd3981870..ab426f12ac 100644
--- a/test/test-index.el
+++ b/test/test-index.el
@@ -226,8 +226,8 @@ function example(Firewall $wall): Thing {}")
     (should (phpinspect--type= (phpinspect--make-type :name "\\Example\\Thing")
                                (phpinspect--function-return-type (car 
functions))))
     (should (= 3 (length (alist-get 'used-types index))))
-    (should (member "Firewall" (alist-get 'used-types index)))
-    (should (member "array" (alist-get 'used-types index)))
-    (should (member "Thing" (alist-get 'used-types index)))
+    (should (member (phpinspect-intern-name "Firewall") (alist-get 'used-types 
index)))
+    (should (member (phpinspect-intern-name "array") (alist-get 'used-types 
index)))
+    (should (member (phpinspect-intern-name "Thing") (alist-get 'used-types 
index)))
 
     (should (alist-get 'used-types index))))

Reply via email to