File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Modules/Tests/WordPressIntelligenceTests Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ enum TestHelpers {
266266 let tokenizer = NLTokenizer ( unit: . word)
267267 tokenizer. string = text
268268
269- if let language = language {
269+ if let language {
270270 tokenizer. setLanguage ( language)
271271 }
272272
Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ struct PostExcerptGeneratorTests {
240240 }
241241
242242 // Performance benchmark
243- if let maxDuration = maxDuration {
243+ if let maxDuration {
244244 let durationSeconds = Double ( duration. components. seconds) + Double( duration. components. attoseconds) / 1e18
245245 let maxSeconds = Double ( maxDuration. components. seconds) + Double( maxDuration. components. attoseconds) / 1e18
246246 #expect(
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ struct PostSummaryGeneratorTests {
133133 }
134134
135135 // Performance validation
136- if let maxDuration = maxDuration {
136+ if let maxDuration {
137137 let durationSeconds = Double ( duration. components. seconds) + Double( duration. components. attoseconds) / 1e18
138138 let maxSeconds = Double ( maxDuration. components. seconds) + Double( maxDuration. components. attoseconds) / 1e18
139139 #expect(
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ struct TagSuggestionGeneratorTests {
176176 }
177177
178178 // Performance validation
179- if let maxDuration = maxDuration {
179+ if let maxDuration {
180180 let durationSeconds = Double ( duration. components. seconds) + Double( duration. components. attoseconds) / 1e18
181181 let maxSeconds = Double ( maxDuration. components. seconds) + Double( maxDuration. components. attoseconds) / 1e18
182182 #expect(
You can’t perform that action at this time.
0 commit comments