diff --git a/Tests/ScreamURITemplateTests/MacroTests.swift b/Tests/ScreamURITemplateTests/URITemplateMacroTests.swift similarity index 92% rename from Tests/ScreamURITemplateTests/MacroTests.swift rename to Tests/ScreamURITemplateTests/URITemplateMacroTests.swift index 06f0659..d2bb43e 100644 --- a/Tests/ScreamURITemplateTests/MacroTests.swift +++ b/Tests/ScreamURITemplateTests/URITemplateMacroTests.swift @@ -20,12 +20,12 @@ import XCTest - class MacroTests: XCTestCase { + class URITemplateMacroTests: XCTestCase { let testMacros: [String: Macro.Type] = [ "URITemplate": URITemplateMacro.self, ] - func testValidURITemplateMacro() throws { + func testValid() throws { assertMacroExpansion( #""" #URITemplate("https://api.github.com/repos/{owner}") @@ -38,7 +38,7 @@ macros: testMacros) } - func testInvalidURITemplateMacro() throws { + func testInvalid() throws { assertMacroExpansion( #""" #URITemplate("https://api.github.com/repos/{}/{repo}") @@ -53,7 +53,7 @@ macros: testMacros) } - func testMisusedURITemplateMacro() throws { + func testMisused() throws { assertMacroExpansion( #""" let s: StaticString = "https://api.github.com/repos/{owner}"