Skip to content

Commit 77d922a

Browse files
committed
Minor collection cleanup in tests
1 parent 7b590e9 commit 77d922a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

SabreTools.RedumpLib.Test/SubmissionInfoTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ public void FullSerializationTest()
5858
DiscTitle = "Install Disc",
5959
Category = DiscCategory.Games,
6060
Region = Region.World,
61-
Languages = new Language?[] { Language.English, Language.Spanish, Language.French },
62-
LanguageSelection = new LanguageSelection?[] { LanguageSelection.BiosSettings },
61+
Languages = [Language.English, Language.Spanish, Language.French],
62+
LanguageSelection = [LanguageSelection.BiosSettings],
6363
Serial = "Disc Serial",
6464
Layer0MasteringRing = "L0 Mastering Ring",
6565
Layer0MasteringSID = "L0 Mastering SID",
@@ -97,7 +97,7 @@ public void FullSerializationTest()
9797
{
9898
Version = "Original",
9999
VersionDatfile = "Alt",
100-
CommonEditions = new string[] { "Taikenban" },
100+
CommonEditions = ["Taikenban"],
101101
OtherEditions = "Rerelease",
102102
},
103103

@@ -135,15 +135,15 @@ public void FullSerializationTest()
135135
DumpersAndStatus = new DumpersAndStatusSection()
136136
{
137137
Status = DumpStatus.TwoOrMoreGreen,
138-
Dumpers = new string[] { "Dumper1", "Dumper2" },
138+
Dumpers = ["Dumper1", "Dumper2"],
139139
OtherDumpers = "Dumper3",
140140
},
141141

142142
TracksAndWriteOffsets = new TracksAndWriteOffsetsSection()
143143
{
144144
ClrMameProData = "Datfile",
145145
Cuesheet = "Cuesheet",
146-
CommonWriteOffsets = new int[] { 0, 12, -12 },
146+
CommonWriteOffsets = [0, 12, -12],
147147
OtherWriteOffsets = "-2",
148148
},
149149

0 commit comments

Comments
 (0)