Browse Source

Fix unit test

af/merge-core
James Jackson-South 8 years ago
parent
commit
76fa8be009
  1. 3
      tests/ImageSharp.Tests/PixelFormats/ColorDefinitionTests.cs

3
tests/ImageSharp.Tests/PixelFormats/ColorDefinitionTests.cs

@ -16,7 +16,8 @@ namespace SixLabors.ImageSharp.Tests
get
{
var result = new TheoryData<string>();
foreach (string name in typeof(NamedColors<Rgba32>).GetTypeInfo().GetFields().Select(x => x.Name ))
foreach (string name in typeof(NamedColors<Rgba32>).GetTypeInfo()
.GetFields().Where(x => x.Name != nameof(NamedColors<Rgba32>.WebSafePalette)).Select(x => x.Name))
{
result.Add(name);
}

Loading…
Cancel
Save