Skip to content

Commit b7b9d35

Browse files
author
Jesse Haigh
committed
fix feature flag on new tests
1 parent 8e8e438 commit b7b9d35

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/SwiftDocCTests/Rendering/RenderContentCompilerTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ class RenderContentCompilerTests: XCTestCase {
342342
}
343343

344344
func testShowLineNumbers() async throws {
345-
enableFeatureFlag(\.isExperimentalCodeBlockEnabled)
345+
enableFeatureFlag(\.isExperimentalCodeBlockAnnotationsEnabled)
346346

347347
let (bundle, context) = try await testBundleAndContext()
348348
var compiler = RenderContentCompiler(context: context, bundle: bundle, identifier: ResolvedTopicReference(bundleID: bundle.id, path: "/path", fragment: nil, sourceLanguage: .swift))
@@ -370,7 +370,7 @@ class RenderContentCompilerTests: XCTestCase {
370370
}
371371

372372
func testLowercaseShowLineNumbers() async throws {
373-
enableFeatureFlag(\.isExperimentalCodeBlockEnabled)
373+
enableFeatureFlag(\.isExperimentalCodeBlockAnnotationsEnabled)
374374

375375
let (bundle, context) = try await testBundleAndContext()
376376
var compiler = RenderContentCompiler(context: context, bundle: bundle, identifier: ResolvedTopicReference(bundleID: bundle.id, path: "/path", fragment: nil, sourceLanguage: .swift))
@@ -517,7 +517,7 @@ class RenderContentCompilerTests: XCTestCase {
517517
}
518518

519519
func testMultipleHighlightMultipleStrikeout() async throws {
520-
enableFeatureFlag(\.isExperimentalCodeBlockEnabled)
520+
enableFeatureFlag(\.isExperimentalCodeBlockAnnotationsEnabled)
521521

522522
let (bundle, context) = try await testBundleAndContext()
523523
var compiler = RenderContentCompiler(context: context, bundle: bundle, identifier: ResolvedTopicReference(bundleID: bundle.id, path: "/path", fragment: nil, sourceLanguage: .swift))
@@ -548,7 +548,7 @@ class RenderContentCompilerTests: XCTestCase {
548548
}
549549

550550
func testLanguageNotFirstOption() async throws {
551-
enableFeatureFlag(\.isExperimentalCodeBlockEnabled)
551+
enableFeatureFlag(\.isExperimentalCodeBlockAnnotationsEnabled)
552552

553553
let (bundle, context) = try await testBundleAndContext()
554554
var compiler = RenderContentCompiler(context: context, bundle: bundle, identifier: ResolvedTopicReference(bundleID: bundle.id, path: "/path", fragment: nil, sourceLanguage: .swift))
@@ -582,7 +582,7 @@ class RenderContentCompilerTests: XCTestCase {
582582
}
583583

584584
func testUnorderedArrayOptions() async throws {
585-
enableFeatureFlag(\.isExperimentalCodeBlockEnabled)
585+
enableFeatureFlag(\.isExperimentalCodeBlockAnnotationsEnabled)
586586

587587
let (bundle, context) = try await testBundleAndContext()
588588
var compiler = RenderContentCompiler(context: context, bundle: bundle, identifier: ResolvedTopicReference(bundleID: bundle.id, path: "/path", fragment: nil, sourceLanguage: .swift))

0 commit comments

Comments
 (0)