 
 (flycheck-ert-def-checker-test swift3 swift error
   (let ((flycheck-checkers '(swift3))
+        (flycheck-swift3-xcrun-sdk "macosx")
         (flycheck-swift3-inputs '("A.swift")))
     (flycheck-ert-should-syntax-check
      "broken.swift" 'swift-mode

                                      flycheck-swift3-test-directory)))))

(flycheck-ert-def-checker-test swift3 swift error-warning-info
  (let ((flycheck-checkers '(swift3)))
    (flycheck-ert-should-syntax-check
     "unknowable.swift" 'swift-mode
     '(8 3 warning "result of 'Int' initializer is unused" :checker swift3)


(flycheck-ert-def-checker-test swift3 swift error-unknown
  (let ((flycheck-checkers '(swift3))
        (flycheck-swift3-xcrun-sdk "macosx")
        (flycheck-swift3-import-objc-header "hello-bridge-header.h"))
    (flycheck-ert-should-syntax-check
     "hello.swift" 'swift-mode
