Skip to content

Commit

Permalink
Make field readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Dec 28, 2024
1 parent 8272109 commit 5eee1fa
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ public class VersionTreeTests
{
private static readonly JsonSerializerOptions _indentedJsonOption = new() { WriteIndented = true };

private static List<Version> _versions = "1.0, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.3, 1.4, 1.4.1, 1.4.1.1, 1.4.1.2, 1.4.1.3, 1.4.2.1, 1.4.2.2, 1.4.2.4"
.Split(',')
.Select(Version.Parse)
.ToList();
private static readonly List<Version> _versions =
"1.0 1.2 1.2.1 1.2.2 1.2.3 1.3 1.4 1.4.1 1.4.1.1 1.4.1.2 1.4.1.3 1.4.2.1 1.4.2.2 1.4.2.4"
.Split()
.Select(Version.Parse)
.ToList();

[Fact]
public void VersionTreeShouldHaveExpectedStructure()
Expand Down

0 comments on commit 5eee1fa

Please sign in to comment.