diff options
author | Guillem Jover <guillem@debian.org> | 2017-01-27 00:34:44 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2017-01-27 04:32:43 +0100 |
commit | cccf56a59647868cf0de0959c87ba4c07409d958 (patch) | |
tree | 9e92a7192008bd69e694a9c38dd12a5d49a83664 /scripts/t | |
parent | feab90e61d0cdaf113a8c233cc584f3125f85924 (diff) | |
download | dpkg-cccf56a59647868cf0de0959c87ba4c07409d958.tar.gz |
test: Rename parse_option to parse_features
Missed in commit dad593660d922abce634542b43e9d56b03228a8c.
Diffstat (limited to 'scripts/t')
-rw-r--r-- | scripts/t/Dpkg_BuildOptions.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/t/Dpkg_BuildOptions.t b/scripts/t/Dpkg_BuildOptions.t index a5a9996ae..f3080a22d 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'); |