// swift-tools-version:3.1

import PackageDescription

let butler = Package(
    name: "Butler",
    swiftLanguageVersions: [3]
)

butler.testDependencies = [
    .Package(url: "https://github.com/Quick/Quick.git", majorVersion: 1)
]

// swift-tools-version:3.1

import PackageDescription

let package = Package(
    name: "Butler",
    targets: [],
    dependencies: [
        .Package(url: "https://github.com/Quick/Quick.git", majorVersion: 1)
    ],
    // {
    //     return [
    //         Target(name: "Butler"),
    //         Target(name: "ButlerTests", dependencies: [
    //         ]),
    //     ]
    // }(),
    swiftLanguageVersions: [3]
)

--- 
+++ 
@@ -2,18 +2,11 @@
 
 import PackageDescription
 
-let package = Package(
+let butler = Package(
     name: "Butler",
-    targets: [],
-    dependencies: [
-        .Package(url: "https://github.com/Quick/Quick.git", majorVersion: 1)
-    ],
-    // {
-    //     return [
-    //         Target(name: "Butler"),
-    //         Target(name: "ButlerTests", dependencies: [
-    //         ]),
-    //     ]
-    // }(),
     swiftLanguageVersions: [3]
 )
+
+butler.testDependencies = [
+    .Package(url: "https://github.com/Quick/Quick.git", majorVersion: 1)
+]
Move Quick dependency to tests
