Path: redb-route/tests/redb.Route.Tests.File/WindowsFactAttribute.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/tests/redb.Route.Tests.File/WindowsFactAttribute.cs
----
namespace redb.Route.Tests.File;
///
/// A fact about behavior only Windows has. Elsewhere it is skipped with the documented reason, never silently passed.
///
public sealed class WindowsFactAttribute : FactAttribute
{
/// Why the behavior is Windows only, as the README documents it.
public WindowsFactAttribute(string reason)
{
if (!OperatingSystem.IsWindows())
Skip = reason;
}
}