Skip to content

Add support for 'assert_not_equal'. - #37

Merged
martin-schulze-vireso merged 2 commits into
bats-core:masterfrom
jwheeler31:master
Nov 4, 2021
Merged

martin-schulze-vireso merged 2 commits into
bats-core:masterfrom
jwheeler31:master

Conversation

@jwheeler31

@jwheeler31 jwheeler31 commented Oct 19, 2021 •

Copy link
Copy Markdown

This is essentially a copy/paste of assert_equal. However, unlike assert_equal, I think it's more correct to perform the equivalence test surrounding each operand in double quotes (see assert_equal.bash#35 vs assert_not_equal.bash#35).

This would also close #31 .

@jwheeler31

Copy link
Copy Markdown
Author

Bump

@martin-schulze-vireso martin-schulze-vireso left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nits

Comment thread test/assert_not_equal.bats Resolved
Comment thread README.md Resolved
@martin-schulze-vireso
martin-schulze-vireso merged commit 34551b1 into bats-core:master Nov 4, 2021
@jwheeler31

Copy link
Copy Markdown
Author

@martin-schulze-vireso First open source PR! 🍻

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

assert_notequal missing?

2 participants