mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Refactor] Use collection expressions.
This commit is contained in:
@@ -38,13 +38,13 @@ public class Sun : PartitionSchemeTest
|
||||
{
|
||||
public override string DataFolder => Path.Combine(Consts.TestFilesRoot, "Partitioning schemes", "Sun");
|
||||
|
||||
public override PartitionTest[] Tests => new[]
|
||||
{
|
||||
public override PartitionTest[] Tests =>
|
||||
[
|
||||
new PartitionTest
|
||||
{
|
||||
TestFile = "linux.aif",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new Partition
|
||||
{
|
||||
Length = 204800,
|
||||
@@ -108,13 +108,13 @@ public class Sun : PartitionSchemeTest
|
||||
Start = 915705,
|
||||
Type = "Linux swap"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
new PartitionTest
|
||||
{
|
||||
TestFile = "parted.aif",
|
||||
Partitions = new[]
|
||||
{
|
||||
Partitions =
|
||||
[
|
||||
new Partition
|
||||
{
|
||||
Length = 49152,
|
||||
@@ -142,7 +142,7 @@ public class Sun : PartitionSchemeTest
|
||||
Start = 144585,
|
||||
Type = "Linux"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user