From 649c9bed7155328416abd90b81ebc380dec5ebc8 Mon Sep 17 00:00:00 2001 From: Nicolas Petton Date: Tue, 11 Jun 2019 22:30:47 +0200 Subject: [PATCH] * test/unit/indium-chrome-test.el: Fix a test. --- test/unit/indium-chrome-test.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/indium-chrome-test.el b/test/unit/indium-chrome-test.el index 997c290..13b49a0 100644 --- a/test/unit/indium-chrome-test.el +++ b/test/unit/indium-chrome-test.el @@ -84,7 +84,7 @@ (expect (length command) :to-be 4) (expect (seq-elt command 0) :to-equal (indium-chrome--find-executable)) (expect (seq-elt command 1) :to-equal "--remote-debugging-port=9229") - (expect (seq-elt command 2) :to-match "--user-data-dir=/tmp/.*") + (expect (seq-elt command 2) :to-match (format "--user-data-dir=%s" indium-chrome-data-dir)) (expect (seq-elt command 3) :to-equal url)))) (provide 'indium-chrome-test)