diff --git a/Gemini.xcodeproj/project.pbxproj b/Gemini.xcodeproj/project.pbxproj index a959d9a..b83ccde 100644 --- a/Gemini.xcodeproj/project.pbxproj +++ b/Gemini.xcodeproj/project.pbxproj @@ -25,7 +25,7 @@ D62664A124BBF24100DF9B88 /* GeminiRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = D626649A24BBF24100DF9B88 /* GeminiRequest.swift */; }; D62664A224BBF24100DF9B88 /* GeminiResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = D626649B24BBF24100DF9B88 /* GeminiResponse.swift */; }; D62664B124BBF26A00DF9B88 /* GeminiFormat.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D62664A824BBF26A00DF9B88 /* GeminiFormat.framework */; }; - D62664B824BBF26A00DF9B88 /* GeminiFormatTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D62664B724BBF26A00DF9B88 /* GeminiFormatTests.swift */; }; + D62664B824BBF26A00DF9B88 /* GeminiParserTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D62664B724BBF26A00DF9B88 /* GeminiParserTests.swift */; }; D62664BA24BBF26A00DF9B88 /* GeminiFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = D62664AA24BBF26A00DF9B88 /* GeminiFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; D62664BD24BBF26A00DF9B88 /* GeminiFormat.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D62664A824BBF26A00DF9B88 /* GeminiFormat.framework */; }; D62664BE24BBF26A00DF9B88 /* GeminiFormat.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D62664A824BBF26A00DF9B88 /* GeminiFormat.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; @@ -119,7 +119,7 @@ D62664AA24BBF26A00DF9B88 /* GeminiFormat.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeminiFormat.h; sourceTree = ""; }; D62664AB24BBF26A00DF9B88 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; D62664B024BBF26A00DF9B88 /* GeminiFormatTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = GeminiFormatTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - D62664B724BBF26A00DF9B88 /* GeminiFormatTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeminiFormatTests.swift; sourceTree = ""; }; + D62664B724BBF26A00DF9B88 /* GeminiParserTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeminiParserTests.swift; sourceTree = ""; }; D62664B924BBF26A00DF9B88 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; D62664C524BBF27300DF9B88 /* GeminiParser.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeminiParser.swift; sourceTree = ""; }; D62664C724BBF2C600DF9B88 /* Document.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Document.swift; sourceTree = ""; }; @@ -253,7 +253,7 @@ D62664B624BBF26A00DF9B88 /* GeminiFormatTests */ = { isa = PBXGroup; children = ( - D62664B724BBF26A00DF9B88 /* GeminiFormatTests.swift */, + D62664B724BBF26A00DF9B88 /* GeminiParserTests.swift */, D62664B924BBF26A00DF9B88 /* Info.plist */, ); path = GeminiFormatTests; @@ -513,7 +513,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - D62664B824BBF26A00DF9B88 /* GeminiFormatTests.swift in Sources */, + D62664B824BBF26A00DF9B88 /* GeminiParserTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/GeminiFormatTests/GeminiFormatTests.swift b/GeminiFormatTests/GeminiParserTests.swift similarity index 99% rename from GeminiFormatTests/GeminiFormatTests.swift rename to GeminiFormatTests/GeminiParserTests.swift index ea99614..b07b958 100644 --- a/GeminiFormatTests/GeminiFormatTests.swift +++ b/GeminiFormatTests/GeminiParserTests.swift @@ -1,5 +1,5 @@ // -// GeminiFormatTests.swift +// GeminiParserTests.swift // GeminiFormatTests // // Created by Shadowfacts on 7/12/20. @@ -8,7 +8,7 @@ import XCTest @testable import GeminiFormat -class GeminiFormatTests: XCTestCase { +class GeminiParserTests: XCTestCase { func assertParseLines(text: String, lines expected: [Document.Line], message: String = "", file: StaticString = #filePath, line: UInt = #line) { let doc = GeminiParser.parse(text: text, baseURL: URL(string: "gemini://example.com")!)