Skip to content

Incoherent argument type in function 'Zonemaster::Engine::Test/run_one()' #1278

@tgreenx

Description

@tgreenx

When running the Test suite, Zonemaster::Engine::Test will run either:

The first two take at least one argument which is a Zonemaster::Engine::Zone object. However, the latter takes an array of Zonemaster::Engine::Zone objects (under the variable @arguments). I don't see why that is. From what I have seen all Test Cases only ever handle one argument (which is a Zonemaster::Engine::Zone object).

It has no sizable effect in practice but this part of the code should probably be harmonized.

Metadata

Metadata

Assignees

Labels

S-PRforIssueStatus: There is a PR that is meant to resolve the issueT-BugType: Bug in software or error in test case description

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions