Code formatting

This commit is contained in:
Michael Schimmel
2025-06-24 11:18:10 +02:00
parent fdea3cf26a
commit ed8619650c
5 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -105,7 +105,7 @@ end;
function TTestMycDirtyFlag.CreateAndPrepareDirtyFlag(StartDirty: Boolean = True): TFlag.IFlag;
begin
Result := TFlag.CreateFlag( true ); // Initially dirty
Result := TFlag.CreateFlag(true); // Initially dirty
if not StartDirty then
Result.Reset; // Reset to make it clean
Assert.AreEqual(StartDirty, Result.State.IsSet, 'CreateAndPrepareDirtyFlag initial state incorrect.');
@@ -127,9 +127,9 @@ procedure TTestMycDirtyFlag.TestCreate_InitialStateIsDirty;
var
dirtyFlag: TFlag.IFlag;
begin
dirtyFlag := TFlag.CreateFlag( true );
dirtyFlag := TFlag.CreateFlag(true);
Assert.IsTrue(dirtyFlag.State.IsSet, 'Newly created dirty flag should be IsSet.');
dirtyFlag := TFlag.CreateFlag( false );
dirtyFlag := TFlag.CreateFlag(false);
Assert.IsFalse(dirtyFlag.State.IsSet, 'Newly created dirty flag should not be IsSet.');
end;