[test] Modernize hashing throughout the test suite

This commit is contained in:
Karoy Lorentey
2018-11-21 17:26:37 +00:00
parent 8e77a2655a
commit 666a22feff
60 changed files with 225 additions and 161 deletions

View File

@@ -280,7 +280,7 @@ func iuoKeyPaths() {
class Bass: Hashable {
static func ==(_: Bass, _: Bass) -> Bool { return false }
var hashValue: Int { return 0 }
func hash(into hasher: inout Hasher) {}
}
class Treble: Bass { }