chore: update insert_final_newline setting

This commit is contained in:
Louis Seubert 2026-05-16 12:36:35 +02:00
commit 2572bd3695
Signed by: louis9902
GPG key ID: 4B9DB28F826553BD
151 changed files with 151 additions and 151 deletions

View file

@ -5,7 +5,7 @@ indent_style = tab
indent_size = 4 indent_size = 4
tab_width = 4 tab_width = 4
end_of_line = lf end_of_line = lf
insert_final_newline = false insert_final_newline = true
trim_trailing_whitespace = true trim_trailing_whitespace = true
max_line_length = 120 max_line_length = 120

View file

@ -24,4 +24,4 @@ internal sealed class ErrorTests
var instance = await Assert.That(error).IsTypeOf<ExceptionError>(); var instance = await Assert.That(error).IsTypeOf<ExceptionError>();
await Assert.That(instance?.Exception).IsTypeOf<CustomTestException>(); await Assert.That(instance?.Exception).IsTypeOf<CustomTestException>();
} }
} }

View file

@ -47,4 +47,4 @@ internal sealed class ExtensionsEnumerableTests
await Assert.That(result.IsSuccess).IsTrue(); await Assert.That(result.IsSuccess).IsTrue();
await Assert.That(result.Value).IsEmpty(); await Assert.That(result.Value).IsEmpty();
} }
} }

View file

@ -97,4 +97,4 @@ internal sealed class PreludeTests
var instance = await Assert.That(result.Error).IsTypeOf<ExceptionError>(); var instance = await Assert.That(result.Error).IsTypeOf<ExceptionError>();
await Assert.That(instance?.Exception).IsTypeOf<CustomTestException>(); await Assert.That(instance?.Exception).IsTypeOf<CustomTestException>();
} }
} }

View file

@ -61,4 +61,4 @@ internal sealed class ResultConversionTests
await Assert.That(() => (int)result).Throws<UnwrapException>(); await Assert.That(() => (int)result).Throws<UnwrapException>();
} }
} }

View file

@ -172,4 +172,4 @@ internal sealed class ResultEqualityTests
await Assert.That(result.GetHashCode()).IsZero(); await Assert.That(result.GetHashCode()).IsZero();
} }
} }

View file

@ -229,4 +229,4 @@ internal sealed class ResultMatchingTests
return ValueTask.CompletedTask; return ValueTask.CompletedTask;
} }
} }
} }

View file

@ -56,4 +56,4 @@ internal sealed class ResultTests
await Assert.That(result.ToString()).IsEqualTo("Failure { error }"); await Assert.That(result.ToString()).IsEqualTo("Failure { error }");
} }
} }

View file

@ -641,4 +641,4 @@ internal sealed class ResultTransformTests
await Assert.That(result.Error).IsTypeOf<StringError>(); await Assert.That(result.Error).IsTypeOf<StringError>();
await Assert.That(result.Error?.Message).IsEqualTo("error"); await Assert.That(result.Error?.Message).IsEqualTo("error");
} }
} }

View file

@ -96,4 +96,4 @@ internal sealed class ResultUnboxTests
await Assert.That(error).IsEqualTo(default(Error)); await Assert.That(error).IsEqualTo(default(Error));
await Assert.That(value).IsEqualTo(2); await Assert.That(value).IsEqualTo(2);
} }
} }

View file

@ -8,4 +8,4 @@ internal sealed class CustomTestError : Error
internal const string DefaultMessage = "This is a custom error for test"; internal const string DefaultMessage = "This is a custom error for test";
public override string Message => DefaultMessage; public override string Message => DefaultMessage;
} }

View file

@ -5,4 +5,4 @@ namespace Geekeey.Request.Result.Tests;
internal sealed class CustomTestException : Exception internal sealed class CustomTestException : Exception
{ {
} }

View file

@ -98,4 +98,4 @@ public static class Prelude
return new Result<T>(new ExceptionError(exception)); return new Result<T>(new ExceptionError(exception));
} }
} }
} }

View file

@ -48,4 +48,4 @@ public readonly partial struct Result<T>
{ {
return result.Unwrap(); return result.Unwrap();
} }
} }

View file

@ -160,4 +160,4 @@ public readonly partial struct Result<T> : IEqualityOperators<Result<T>, Result<
{ {
return !Equals(a, b, EqualityComparer<T>.Default); return !Equals(a, b, EqualityComparer<T>.Default);
} }
} }

View file

@ -101,4 +101,4 @@ public readonly partial struct Result<T>
{ {
return IsSuccess ? success(Value) : failure(Error); return IsSuccess ? success(Value) : failure(Error);
} }
} }

View file

@ -363,4 +363,4 @@ public readonly partial struct Result<T>
} }
} }
} }
} }

View file

@ -63,4 +63,4 @@ public readonly partial struct Result<T>
return !IsSuccess; return !IsSuccess;
} }
} }

View file

@ -75,4 +75,4 @@ public readonly partial struct Result<T>
public object? Value => result.IsSuccess ? result.Value : result.Error; public object? Value => result.IsSuccess ? result.Value : result.Error;
} }
} }

View file

@ -24,4 +24,4 @@ public sealed class AggregateError : Error
/// <inheritdoc/> /// <inheritdoc/>
public override string Message => string.Join(Environment.NewLine, Errors.Select(error => error.Message)); public override string Message => string.Join(Environment.NewLine, Errors.Select(error => error.Message));
} }

Some files were not shown because too many files have changed in this diff Show more