       return makeCollection(elements.map(wrapValue))
     }
 
-//===----------------------------------------------------------------------===//
-// prefix()
-//===----------------------------------------------------------------------===//
-
-self.test("\(testNamePrefix).prefix/semantics") {
-  for test in prefixTests {
-    let s = makeWrappedCollection(test.sequence.map(OpaqueValue.init))
-    let result = s.prefix(test.maxLength)
-    expectEqualSequence(test.expected, result.map(extractValue).map { $0.value },
-      stackTrace: SourceLocStack().with(test.loc))
-  }
-}
-
-//===----------------------------------------------------------------------===//
-// suffix()
-//===----------------------------------------------------------------------===//
-
-self.test("\(testNamePrefix).suffix/semantics") {
-  for test in suffixTests {
-    let s = makeWrappedCollection(test.sequence.map(OpaqueValue.init))
-    let result = s.suffix(test.maxLength)
-    expectEqualSequence(test.expected, result.map(extractValue).map { $0.value },
-      stackTrace: SourceLocStack().with(test.loc))
-  }
-}
+    //===------------------------------------------------------------------===//
+    // prefix()
+    //===------------------------------------------------------------------===//
+
+    self.test("\(testNamePrefix).prefix/semantics") {
+      for test in prefixTests {
+        let s = makeWrappedCollection(test.sequence.map(OpaqueValue.init))
+        let result = s.prefix(test.maxLength)
+        expectEqualSequence(
+          test.expected, result.map(extractValue).map { $0.value },
+          stackTrace: SourceLocStack().with(test.loc))
+    }
+    }
+
+    //===------------------------------------------------------------------===//
+    // suffix()
+    //===------------------------------------------------------------------===//
+
+    self.test("\(testNamePrefix).suffix/semantics") {
+      for test in suffixTests {
+        let s = makeWrappedCollection(test.sequence.map(OpaqueValue.init))
+        let result = s.suffix(test.maxLength)
+        expectEqualSequence(
+          test.expected, result.map(extractValue).map { $0.value },
+          stackTrace: SourceLocStack().with(test.loc))
+      }
+    }
 
 //===----------------------------------------------------------------------===//
   } // addRandomAccessCollectionTests

    wrapValue: (OpaqueValue<Int>) -> C.Iterator.Element,
    extractValue: (C.Iterator.Element) -> OpaqueValue<Int>,

    makeCollectionOfEquatable: ([CollectionWithEquatableElement.Iterator.Element]) -> CollectionWithEquatableElement,
    wrapValueIntoEquatable: (MinimalEquatableValue) -> CollectionWithEquatableElement.Iterator.Element,
    extractValueFromEquatable: ((CollectionWithEquatableElement.Iterator.Element) -> MinimalEquatableValue),

    checksAdded: Box<Set<String>> = Box([]),
    resiliencyChecks: CollectionMisuseResiliencyChecks = .all,

    wrapValue: (OpaqueValue<Int>) -> C.Iterator.Element,
    extractValue: (C.Iterator.Element) -> OpaqueValue<Int>,

    makeCollectionOfEquatable: (
      [CollectionWithEquatableElement.Iterator.Element]
    ) -> CollectionWithEquatableElement,

    wrapValueIntoEquatable: (
      MinimalEquatableValue) -> CollectionWithEquatableElement.Iterator.Element,

    extractValueFromEquatable: (
      CollectionWithEquatableElement.Iterator.Element) -> MinimalEquatableValue,

    checksAdded: Box<Set<String>> = Box([]),
    resiliencyChecks: CollectionMisuseResiliencyChecks = .all,
