-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove assert_same and assert_not_same
These functions have little value and is confusing what they do. It is not obvious how they behave when value is not a reference to a table. Also presenting pointer address to the user is not helpful at all. Whats more assert same implementations are diferent among libraries. For example, Junit's assertSame and Luaunit's assertIs works similarly to Unitron assert_same, but Testify's assert.Same fails when trying to compare strings or numbers.
- Loading branch information
Showing
3 changed files
with
13 additions
and
69 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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