// swift-tools-version:5.2
import PackageDescription

let package = Package(
    name: "Differ",
    products: [
        .library(name: "Differ", targets: ["Differ"]),
    ],
    targets: [
        .target(name: "Differ"),
        .testTarget(name: "DifferTests", dependencies: [
            .target(name: "Differ")
        ]),
    ]
)

// swift-tools-version:5.1
import PackageDescription

let package = Package(
    name: "Differ",
    products: [
        .library(name: "Differ", targets: ["Differ"]),
    ],
    targets: [
        .target(name: "Differ"),
        .testTarget(name: "DifferTests", dependencies: ["Differ"]),
    ]
)

--- 
+++ 
@@ -1,4 +1,4 @@
-// swift-tools-version:5.1
+// swift-tools-version:5.2
 import PackageDescription
 
 let package = Package(
@@ -8,6 +8,8 @@
     ],
     targets: [
         .target(name: "Differ"),
-        .testTarget(name: "DifferTests", dependencies: ["Differ"]),
+        .testTarget(name: "DifferTests", dependencies: [
+            .target(name: "Differ")
+        ]),
     ]
 )
Update Swift tools version to Swift 5.2
