     encoder.keyEncodingStrategy = .convertToSnakeCase
     do {
       _ = try encoder.encode(toEncode)
-    } catch EncodingError.invalidValue(let (_, context)) {
+    } catch EncodingError.invalidValue(_, let context) {
       expectEqual(4, context.codingPath.count)
       expectEqual("key", context.codingPath[0].stringValue)
       expectEqual("sub_key", context.codingPath[1].stringValue)

    encoder.keyEncodingStrategy = .convertToSnakeCase
    do {
      _ = try encoder.encode(toEncode)
    } catch EncodingError.invalidValue(let (_, context)) {
      expectEqual(2, context.codingPath.count)
      expectEqual("key", context.codingPath[0].stringValue)
      expectEqual("someValue", context.codingPath[1].stringValue)

    decoder.keyDecodingStrategy = .convertFromSnakeCase
    do {
      _ = try decoder.decode([String: Int].self, from: input)
    } catch DecodingError.typeMismatch(_, let context) {
      expectEqual(1, context.codingPath.count)
      expectEqual("leave_me_alone", context.codingPath[0].stringValue)
    } catch {
