Skip to content

Commit 8443135

Browse files
authored
Fix documentation not appearing
1 parent 2cbe88f commit 8443135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PropertyBased/FixedSeedTrait.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public struct FixedSeedTrait: TestTrait, TestScoping {
4747
}
4848

4949
extension Trait where Self == FixedSeedTrait {
50+
#if canImport(Foundation)
5051
/// Override the seed used by all property checks within this Test.
5152
///
5253
/// If one of your property checks fails intermittently, apply this trait to reliably reproduce the issue.
@@ -58,7 +59,6 @@ extension Trait where Self == FixedSeedTrait {
5859
/// - sourceLocation: The source location of the trait.
5960
///
6061
/// - Returns: An instance of ``FixedSeedTrait``.
61-
#if canImport(Foundation)
6262
public static func fixedSeed(_ seed: StaticString, sourceLocation: SourceLocation = #_sourceLocation) -> Self {
6363
let rng = Xoshiro(seed: seed.description)
6464
return Self(rng, sourceLocation)

0 commit comments

Comments
 (0)