From 61386b569bb997202fd168131fd4942b0700b0a6 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Thu, 8 Aug 2019 17:43:58 +0200 Subject: [PATCH] [SL.Core] Fixed StyleCop issues. --- .../Memory/ArrayPoolMemoryAllocatorTests.cs | 1 - .../SixLabors.Core.Tests/Memory/SimpleGcMemoryAllocatorTests.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/SixLabors.Core.Tests/Memory/ArrayPoolMemoryAllocatorTests.cs b/tests/SixLabors.Core.Tests/Memory/ArrayPoolMemoryAllocatorTests.cs index 6f95a4d78c..6f72a076e6 100644 --- a/tests/SixLabors.Core.Tests/Memory/ArrayPoolMemoryAllocatorTests.cs +++ b/tests/SixLabors.Core.Tests/Memory/ArrayPoolMemoryAllocatorTests.cs @@ -2,7 +2,6 @@ // Licensed under the Apache License, Version 2.0. // ReSharper disable InconsistentNaming - using System; using System.Buffers; using System.Runtime.CompilerServices; diff --git a/tests/SixLabors.Core.Tests/Memory/SimpleGcMemoryAllocatorTests.cs b/tests/SixLabors.Core.Tests/Memory/SimpleGcMemoryAllocatorTests.cs index 86e71717e7..7b431126db 100644 --- a/tests/SixLabors.Core.Tests/Memory/SimpleGcMemoryAllocatorTests.cs +++ b/tests/SixLabors.Core.Tests/Memory/SimpleGcMemoryAllocatorTests.cs @@ -23,7 +23,7 @@ namespace SixLabors.Memory.Tests [InlineData(-1)] public void Allocate_IncorrectAmount_ThrowsCorrect_ArgumentOutOfRangeException(int length) { - var ex = Assert.Throws(() => this.MemoryAllocator.Allocate( length)); + var ex = Assert.Throws(() => this.MemoryAllocator.Allocate(length)); Assert.Equal("length", ex.ParamName); }