Skip to content

Commit

Permalink
Update snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeugma440 committed Jan 27, 2025
1 parent 1cc09ad commit 85d120c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ATL.unit-test/CodeSnippets/CodeSnippets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,14 @@ public void TestWritePls()
pathsToWrite.Add("aaa.mp3");
pathsToWrite.Add("bbb.mp3");
pls.FilePaths = pathsToWrite;
pls.Save();

// Writing tracks
IList<Track> tracksToWrite = new List<Track>();
tracksToWrite.Add(new Track(TestUtils.GetResourceLocationRoot() + "MP3/empty.mp3"));
tracksToWrite.Add(new Track(TestUtils.GetResourceLocationRoot() + "MOD/mod.mod"));
pls.Tracks = tracksToWrite;
pls.Save();
}
}
#pragma warning restore S2699 // Tests should include assertions
Expand Down

0 comments on commit 85d120c

Please sign in to comment.