This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=8d9103e3699db3aa62b32b948e6f5ec8c4dc1710

commit 8d9103e3699db3aa62b32b948e6f5ec8c4dc1710
Author: Guillem Jover <[email protected]>
AuthorDate: Mon Nov 21 02:24:22 2022 +0100

    test: Use long options for aspell invocation
    
    Use the long version to make the option obvious, as there is no need for
    succinctness in scripts, and no portability concerns.
---
 t/pod-spell.t | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/t/pod-spell.t b/t/pod-spell.t
index baf9a4483..b831b5222 100644
--- a/t/pod-spell.t
+++ b/t/pod-spell.t
@@ -33,7 +33,8 @@ my @files = Test::Dpkg::all_perl_files();
 
 plan tests => scalar @files;
 
-set_spell_cmd('aspell list --encoding UTF-8 -l en_US -p /dev/null');
+my @aspell_opts = qw(--encoding UTF-8 --lang en_US --personal /dev/null);
+set_spell_cmd("aspell list @aspell_opts");
 add_stopwords(<DATA>);
 
 for my $file (@files) {

-- 
Dpkg.Org's dpkg

Reply via email to