Skip to content

Commit

Permalink
Run dotnet format whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
chtenb committed Aug 26, 2024
1 parent 1b1fb6d commit a1c3fa5
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Rubjerg.Graphviz.Test/CGraphIntegrationTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;

Expand Down
2 changes: 1 addition & 1 deletion Rubjerg.Graphviz.Test/CGraphStressTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using NUnit.Framework;
using NUnit.Framework;

namespace Rubjerg.Graphviz.Test;

Expand Down
4 changes: 2 additions & 2 deletions Rubjerg.Graphviz.Test/TestDotLayout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -309,14 +309,14 @@ public void TestOutputFormatsConsistency()

{
root.ToXDotFile(testFile);
var fileContent = File.ReadAllText(testFile).Replace("\r\n", "\n");;
var fileContent = File.ReadAllText(testFile).Replace("\r\n", "\n");
var stringContent = root.CreateLayout().ToDotString();
Assert.AreEqual(fileContent, stringContent);
}

{
root.ToSvgFile(testFile);
var fileContent = File.ReadAllText(testFile).Replace("\r\n", "\n");;
var fileContent = File.ReadAllText(testFile).Replace("\r\n", "\n");
var stringContent = root.ToSvgString();
Assert.AreEqual(fileContent, stringContent);
}
Expand Down
2 changes: 1 addition & 1 deletion Rubjerg.Graphviz.TransitiveTest/TestReference.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Linq;
using System.Linq;
using NUnit.Framework;

namespace Rubjerg.Graphviz.NugetTest;
Expand Down
2 changes: 1 addition & 1 deletion Rubjerg.Graphviz/CGraphThing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public string SafeGetAttribute(string name, string deflt)
return GetAttribute(name)!;
return deflt;
}

/// <summary>
/// Get the attribute if it was introduced and contains a non-empty value, otherwise return null.
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion Rubjerg.Graphviz/Node.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal static Node GetOrCreate(Graph graph, string name)
/// Identifier for this node.
/// </summary>
public new string GetName() => base.GetName()!;

/// <summary>
/// Introduces an attribute for nodes in the given graph by giving a default value.
/// A given default can be overwritten by calling this method again.
Expand Down

0 comments on commit a1c3fa5

Please sign in to comment.