Browse Source

[SL.Core] Fixed StyleCop issues.

af/octree-no-pixelmap
Dirk Lemstra 7 years ago
parent
commit
61386b569b
  1. 1
      tests/SixLabors.Core.Tests/Memory/ArrayPoolMemoryAllocatorTests.cs
  2. 2
      tests/SixLabors.Core.Tests/Memory/SimpleGcMemoryAllocatorTests.cs

1
tests/SixLabors.Core.Tests/Memory/ArrayPoolMemoryAllocatorTests.cs

@ -2,7 +2,6 @@
// Licensed under the Apache License, Version 2.0. // Licensed under the Apache License, Version 2.0.
// ReSharper disable InconsistentNaming // ReSharper disable InconsistentNaming
using System; using System;
using System.Buffers; using System.Buffers;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;

2
tests/SixLabors.Core.Tests/Memory/SimpleGcMemoryAllocatorTests.cs

@ -23,7 +23,7 @@ namespace SixLabors.Memory.Tests
[InlineData(-1)] [InlineData(-1)]
public void Allocate_IncorrectAmount_ThrowsCorrect_ArgumentOutOfRangeException(int length) public void Allocate_IncorrectAmount_ThrowsCorrect_ArgumentOutOfRangeException(int length)
{ {
var ex = Assert.Throws<ArgumentOutOfRangeException>(() => this.MemoryAllocator.Allocate<BigStruct>( length)); var ex = Assert.Throws<ArgumentOutOfRangeException>(() => this.MemoryAllocator.Allocate<BigStruct>(length));
Assert.Equal("length", ex.ParamName); Assert.Equal("length", ex.ParamName);
} }

Loading…
Cancel
Save