[dpkg] 132/200: test: Rename parse_option to parse_features

Ximin Luo infinity0 at debian.org
Wed Apr 5 15:17:28 UTC 2017


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

infinity0 pushed a commit to branch master
in repository dpkg.

commit cccf56a59647868cf0de0959c87ba4c07409d958
Author: Guillem Jover <guillem at debian.org>
Date:   Fri Jan 27 00:34:44 2017 +0100

    test: Rename parse_option to parse_features
    
    Missed in commit dad593660d922abce634542b43e9d56b03228a8c.
---
 scripts/t/Dpkg_BuildOptions.t | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/t/Dpkg_BuildOptions.t b/scripts/t/Dpkg_BuildOptions.t
index a5a9996..f3080a2 100644
--- a/scripts/t/Dpkg_BuildOptions.t
+++ b/scripts/t/Dpkg_BuildOptions.t
@@ -84,26 +84,26 @@ $dbo = Dpkg::BuildOptions->new();
 
 $theme_ref{$_} = 1 foreach keys %theme;
 $dbo->set('theme', '+all');
-$dbo->parse_option('theme', \%theme);
+$dbo->parse_features('theme', \%theme);
 is_deeply(\%theme, \%theme_ref, 'features set with +all');
 
 $theme{$_} = undef foreach keys %theme;
 $theme_ref{$_} = 1 foreach keys %theme;
 $theme_ref{rusty} = 0;
 $dbo->set('theme', '+all,-rusty');
-$dbo->parse_option('theme', \%theme);
+$dbo->parse_features('theme', \%theme);
 is_deeply(\%theme, \%theme_ref, 'features set with +all,-rusty');
 
 $theme{$_} = undef foreach keys %theme;
 $theme_ref{$_} = 0 foreach keys %theme;
 $theme_ref{metal} = 1;
 $dbo->set('theme', '-all,+metal');
-$dbo->parse_option('theme', \%theme);
+$dbo->parse_features('theme', \%theme);
 is_deeply(\%theme, \%theme_ref, 'features set with +all,-rusty');
 
 $theme{$_} = $theme_ref{$_} = undef foreach keys %theme;
 $theme_ref{pink} = 1;
 $theme_ref{sky} = 0;
 $dbo->set('theme', '+pink,-sky');
-$dbo->parse_option('theme', \%theme);
+$dbo->parse_features('theme', \%theme);
 is_deeply(\%theme, \%theme_ref, 'features set with +pink,-sky');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list