File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -510,14 +510,15 @@ class ${Self.full_name} : ${Super.full_name} {}
510
510
511
511
AnyHashableTests.test("AnyHashable containing classes from the ${prefix} hierarchy") {
512
512
typealias T = Int
513
+ % bunch = 2
513
514
let xs = [
514
515
% for (i, (Self, _)) in enumerate(types):
515
516
% ConcreteSelf = Self
516
517
% if ConcreteSelf.is_generic:
517
518
% ConcreteSelf = ConcreteSelf.specialize_with({'T':'Int'})
518
519
% end
519
- ${Self.full_name}(${len(types) + i}),
520
- % for j in range(0, len(types) ):
520
+ ${Self.full_name}(${bunch + i}),
521
+ % for j in range(0, bunch ):
521
522
${Self.full_name}(${j}),
522
523
% end
523
524
% end
@@ -526,7 +527,7 @@ AnyHashableTests.test("AnyHashable containing classes from the ${prefix} hierarc
526
527
if lhs == rhs {
527
528
return true
528
529
}
529
- let p = ${len(types) + 1}
530
+ let p = ${bunch + 1}
530
531
if lhs % p == 0 || rhs % p == 0 {
531
532
return false
532
533
}
You can’t perform that action at this time.
0 commit comments