Verifier: don't warn "Duplicate name" for caps/req (when pedantic=true) by chrisrueger · Pull Request #6502 · bndtools/bnd (original) (raw)

@chrisrueger marked this pull request as draft

March 10, 2025 22:07

@chrisrueger chrisrueger changed the titleVerifier: don't warn "Duplicate name" for caps/req Verifier: don't warn "Duplicate name" for caps/req (when pedantic=true)

Mar 10, 2025

bjhargrave

bjhargrave

bjhargrave

@chrisrueger

Similar to bndtools#2902

fix testNoDuplicateWarningForHeadersThatAllowDuplicates

the pedantic=true attribute was not passed in the Verifier (Analyzer) so this testcase and the result of the check() method was not asserted... so this test never failed although it should have fail in the previous state

add opposite test to check for the warning

Signed-off-by: Christoph Rueger chrisrueger@gmail.com

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})