Repository navigation
Commit b05a5b3
Possible fix for Issue 79 - use of assertNotSame.
[Issue 79](matyb#79) questions the
need for the `AboutAssertions.assertNotSameInstance` method, specifically
the `aboutNotSame` assertion.
This is my attempt to make both the positive assertion in
`assertSameInstance` and the negative assertion more clear (if much
longer) by making them more similar, and by giving each an example of
how equality is different from "sameness".
I'm still not sure it justifies the existence of `aboutNotSame`, which
is used literally nowhere else.1 parent 56e0361 commit b05a5b3
1 file changed
Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
74 | | - | |
75 | | - | |
76 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
77 | 85 | | |
78 | 86 | | |
0 commit comments