From 07c1247a2552fb4945a2b4b1bbb698988ae09642 Mon Sep 17 00:00:00 2001 From: John Maxwell Date: Fri, 13 Sep 2024 08:10:15 -0700 Subject: [PATCH] Fix formatting errors --- src/SIL.Machine.Morphology.HermitCrab/Morpher.cs | 2 +- tests/SIL.Machine.Morphology.HermitCrab.Tests/MorpherTests.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SIL.Machine.Morphology.HermitCrab/Morpher.cs b/src/SIL.Machine.Morphology.HermitCrab/Morpher.cs index 5b9d9ca1..f617a02e 100644 --- a/src/SIL.Machine.Morphology.HermitCrab/Morpher.cs +++ b/src/SIL.Machine.Morphology.HermitCrab/Morpher.cs @@ -364,7 +364,7 @@ private IEnumerable LexicalGuess(Word input) if (_traceManager.IsTracing) _traceManager.LexicalLookup(input.Stratum, input); CharacterDefinitionTable table = input.Stratum.CharacterDefinitionTable; - IEnumerable shapeNodes = input.Shape.GetNodes(input.Range); + IEnumerable shapeNodes = input.Shape.GetNodes(input.Range); foreach (RootAllomorph lexicalPattern in _lexicalPatterns) { IEnumerable shapePattern = lexicalPattern.Segments.Shape.GetNodes(lexicalPattern.Segments.Shape.Range); diff --git a/tests/SIL.Machine.Morphology.HermitCrab.Tests/MorpherTests.cs b/tests/SIL.Machine.Morphology.HermitCrab.Tests/MorpherTests.cs index 0303063f..48a8e617 100644 --- a/tests/SIL.Machine.Morphology.HermitCrab.Tests/MorpherTests.cs +++ b/tests/SIL.Machine.Morphology.HermitCrab.Tests/MorpherTests.cs @@ -89,8 +89,8 @@ public void AnalyzeWord_CanGuess_ReturnsCorrectAnalysis() ShapeNode node = new ShapeNode(new FeatureStruct()); node.Annotation.Optional = true; node.Annotation.Iterative = true; - var shape = new Shape( - begin => new ShapeNode(begin ? HCFeatureSystem.LeftSideAnchor : HCFeatureSystem.RightSideAnchor + var shape = new Shape(begin => new ShapeNode( + begin ? HCFeatureSystem.LeftSideAnchor : HCFeatureSystem.RightSideAnchor )); shape.AddRange(new List { node }); var lexicalPattern = new RootAllomorph(new Segments(Table1, "", shape));