Skip to content

unrelated deprecation warning for --assert #1366

Description

@staabm
Q A
OS macOS 26.7
Shell & version sh 2.0 / bash 3.0 / ...
bashunit version 50.1

Summary

I guess the deprecation warning is not expected

Current behavior

since I did not run bashunit test --assert I don't expect a deprecation warning telling me I shouldn't use it and it is deprecated

How to reproduce

$ bashunit -a not_contains 'Bar.php' "Baarar" 
Deprecated: `bashunit test --assert`. Use `bashunit assert` instead.

Expected behavior

no warning?

alternatively

$ bashunit -a not_contains 'Bar.php' "Baarar" 
Deprecated: `bashunit -a`. Use `bashunit assert` instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions