diff --git a/.editorconfig b/.editorconfig index e26bc537..7d53f0cf 100644 --- a/.editorconfig +++ b/.editorconfig @@ -69,9 +69,9 @@ csharp_style_var_elsewhere = true:suggestion # Prefer special method types to have a block body csharp_style_expression_bodied_constructors = false:suggestion -csharp_style_expression_bodied_operators = false:suggestion # Prefer methods to have a block body +csharp_style_expression_bodied_operators = true:suggestion csharp_style_expression_bodied_methods = true:suggestion # Prefer property-like constructs to have an expression-body diff --git a/tests/Tests/SKCanvasTest.cs b/tests/Tests/SKCanvasTest.cs index 1ec2e7ad..5e6e5e3f 100644 --- a/tests/Tests/SKCanvasTest.cs +++ b/tests/Tests/SKCanvasTest.cs @@ -75,8 +75,6 @@ namespace SkiaSharp.Tests } glyphsPixels = bmp.Bytes; - - SaveBitmap(bmp); } Assert.Equal(textPixels, glyphsPixels);