Commit 8e48015
authored
Implement custom equatable for
It seems like equality for triples should depend on the parsed version and exclude the initial string representation.
Eventually, we should probably get rid of storing the original string and compute that from the parsed version, but I am just trying to address equality for now.Triple (#307)1 parent 82a554a commit 8e48015
File tree
2 files changed
+13
-0
lines changed- Sources/TSCUtility
- Tests/TSCUtilityTests
2 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
200 | 204 | | |
201 | 205 | | |
202 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
37 | 46 | | |
0 commit comments