Skip to content

Commit

Permalink
Apply syntax colorization
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Dec 22, 2015
1 parent 80236b8 commit e1e089e
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ This project is available as a [NuGet package][NuPkg]

## Example

[SkippableFact]
public void SomeTestForWindowsOnly()
{
Skip.IfNot(Environment.IsWindows);
```csharp
[SkippableFact]
public void SomeTestForWindowsOnly()
{
Skip.IfNot(Environment.IsWindows);

// Test Windows only functionality.
}
// Test Windows only functionality.
}
```

[NuPkg]: https://www.nuget.org/packages/Xunit.SkippableFact
[NuPkg]: https://www.nuget.org/packages/Xunit.SkippableFact

0 comments on commit e1e089e

Please sign in to comment.