From 9113db3b92a2cc48836c124144604b988454ce9a Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Fri, 28 Dec 2018 22:04:23 +0000 Subject: [PATCH] Update .swiftformat rules --- .swiftformat | 1 + Tests/GluonTests/XCTestManifests.swift | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.swiftformat b/.swiftformat index f52e6f93..fd27caea 100644 --- a/.swiftformat +++ b/.swiftformat @@ -4,3 +4,4 @@ --ranges nospace --empty tuple --operatorfunc nospace +--ifdef noindent diff --git a/Tests/GluonTests/XCTestManifests.swift b/Tests/GluonTests/XCTestManifests.swift index 5d9cb501..2546daf5 100644 --- a/Tests/GluonTests/XCTestManifests.swift +++ b/Tests/GluonTests/XCTestManifests.swift @@ -1,9 +1,9 @@ import XCTest #if os(Linux) - public func allTests() -> [XCTestCaseEntry] { - return [ - testCase(GluonTests.allTests), - ] - } +public func allTests() -> [XCTestCaseEntry] { + return [ + testCase(GluonTests.allTests), + ] +} #endif