Skip to content

Commit

Permalink
Fix assertion of repo URI in validate_repo_properties
Browse files Browse the repository at this point in the history
There was copy paste mistake and I've put Alias instead of URI.

See [poo#70693](https://progress.opensuse.org/issues/70693).
  • Loading branch information
Rodion Iafarov committed Aug 31, 2020
1 parent 02f5a2c commit af6bd86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/repo_tools.pm
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ sub validate_repo_properties {
}

if ($args->{URI}) {
assert_true($actual_repo_data->{URI} =~ /$args->{Alias}/,
assert_true($actual_repo_data->{URI} =~ /$args->{URI}/,
"Repository $args->{Name} has wrong URI, expected: '$args->{URI}', got: '$actual_repo_data->{URI}'");
}

Expand Down

0 comments on commit af6bd86

Please sign in to comment.