Make sure `regexp-quote' tests use Unicode-capable string ports.
authorLudovic Courtès <ludo@gnu.org>
Mon, 9 Jan 2012 22:16:20 +0000 (23:16 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 9 Jan 2012 22:16:20 +0000 (23:16 +0100)
commit211e71a18480309904f672bd8fb943a94f447c7c
tree6d805f10fcefaca28b5921e7d9c2b7305f43ead8
parent67543d076175d000bc95b902be8ea71cd9b75e26
Make sure `regexp-quote' tests use Unicode-capable string ports.

* test-suite/tests/regexp.test (with-unicode): New macro.
  ("regexp-quote"): Wrap all `regexp-quote' calls in it.  This fixes
  tests on machines where the default port encoding is US-ASCII.
test-suite/tests/regexp.test