From fdd0bd9d80bda91a122ff74fd214ab0a7ac894c8 Mon Sep 17 00:00:00 2001 From: "J.D. Healy" Date: Mon, 2 Feb 2015 14:39:05 -0500 Subject: [PATCH] Reformat `test_problem_SingleStyleParameter`. --- Tests/PrettyColorsTests.swift | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Tests/PrettyColorsTests.swift b/Tests/PrettyColorsTests.swift index 163811fe..aa4f8a58 100644 --- a/Tests/PrettyColorsTests.swift +++ b/Tests/PrettyColorsTests.swift @@ -26,16 +26,21 @@ class PrettyColorsTests: XCTestCase { } func test_problem_SingleStyleParameter() { - //// As of `swift-600.0.57.3`, the following statement errors: - //// «Extra argument 'style' in call» + /* + As of `swift-600.0.57.3`, the following statement errors: + «Extra argument 'style' in call» + */ // Color.Wrap(style: .Bold) - //// Removing the supposedly "extra" argument 'style' errors: - //// «'().Type' does not have a member named 'Bold'» + + /* + Removing the supposedly "extra" argument 'style' errors: + «'().Type' does not have a member named 'Bold'» + */ // Color.Wrap(.Bold) /* The true problem appears to be the ambiguity between the - two functions of the form «init(foreground:background:style:)». + two functions of the form `init(foreground:background:style:)`. */ // Workarounds: