Skip to content

Commit f2ca0d2

Browse files
chore: fix formatting
Signed-off-by: Alexander Linne <[email protected]>
1 parent 474233a commit f2ca0d2

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

ArchUnitNET.MSTestV2Tests/RuleEvaluationTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public void ArchRuleExtensionsTest()
5151
{
5252
_architecture.CheckRule(_trueRule);
5353
_trueRule.Check(_architecture);
54-
Assert.ThrowsException<AssertFailedException>(() => _architecture.CheckRule(_falseRule)
54+
Assert.ThrowsException<AssertFailedException>(() =>
55+
_architecture.CheckRule(_falseRule)
5556
);
5657
Assert.ThrowsException<AssertFailedException>(() => _falseRule.Check(_architecture));
5758
Assert.AreEqual(

ArchUnitNETTests/Domain/PlantUml/PlantUmlFileBuilderTest.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,12 @@ public void HandleIllegalComponentNamesTest()
141141
new PlantUmlDependency("a", character, DependencyType.OneToOne)
142142
);
143143
Assert.Throws<IllegalComponentNameException>(() => new PlantUmlClass(character));
144-
Assert.Throws<IllegalComponentNameException>(() => new PlantUmlInterface(character)
144+
Assert.Throws<IllegalComponentNameException>(() =>
145+
new PlantUmlInterface(character)
145146
);
146147
Assert.Throws<IllegalComponentNameException>(() => new PlantUmlSlice(character));
147-
Assert.Throws<IllegalComponentNameException>(() => new PlantUmlNamespace(character)
148+
Assert.Throws<IllegalComponentNameException>(() =>
149+
new PlantUmlNamespace(character)
148150
);
149151
}
150152
}

ArchUnitNETTests/Loader/InstructionExtensionTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ public void GetAssigneeFieldDefinitionProperlyHandlesNextOpNull()
7676
[Fact]
7777
public void GetAssigneeFieldDefinitionProperlyHandlesNullArgument()
7878
{
79-
Assert.Throws<ArgumentNullException>(() => _nullInstruction.GetAssigneeFieldDefinition()
79+
Assert.Throws<ArgumentNullException>(() =>
80+
_nullInstruction.GetAssigneeFieldDefinition()
8081
);
8182
}
8283
}

0 commit comments

Comments
 (0)