File tree Expand file tree Collapse file tree 4 files changed +7
-9
lines changed
Sources/FeedKit/Feeds/Atom Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ public struct AtomFeed {
195195 /// appear as the document (i.e., top-level) element of a stand-alone
196196 /// Atom Entry Document.
197197 public var entries : [ AtomFeedEntry ] ?
198-
198+
199199 /// The Dublin Core Metadata Element Set is a standard for cross-domain
200200 /// resource description.
201201 ///
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ public struct AtomFeedEntry {
204204 ///
205205 /// See https://developers.google.com/youtube/v3/guides/push_notifications
206206 public var youTube : YouTube ?
207-
207+
208208 /// The Dublin Core Metadata Element Set is a standard for cross-domain
209209 /// resource description.
210210 ///
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ extension DublinCoreTests {
6868 )
6969 )
7070 }
71-
71+
7272 var atomMock : AtomFeed {
7373 . init(
7474 entries: [
@@ -110,6 +110,5 @@ extension DublinCoreTests {
110110 rights: " rights "
111111 )
112112 )
113- }
114-
113+ }
115114}
Original file line number Diff line number Diff line change @@ -38,18 +38,17 @@ struct DublinCoreTests: FeedKitTestable {
3838 // Then
3939 #expect( expected == actual)
4040 }
41-
41+
4242 @Test
4343 func dublinCoreAtom( ) throws {
4444 // Given
4545 let data = data ( resource: " AtomDC " , withExtension: " xml " )
4646 let expected : AtomFeed = atomMock
47-
47+
4848 // When
4949 let actual = try AtomFeed ( data: data)
50-
50+
5151 // Then
5252 #expect( expected == actual)
5353 }
54-
5554}
You can’t perform that action at this time.
0 commit comments