Jelajahi Sumber

Update tests

Ruben 1 tahun lalu
induk
melakukan
b7e992deb6
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/PicView.Tests/FileHistoryTest.cs

+ 1 - 1
src/PicView.Tests/FileHistoryTest.cs

@@ -43,7 +43,7 @@ public class FileHistoryTest
         Assert.NotNull(nextEntry);
         Assert.True(File.Exists(nextEntry));
 
-        var prevEntry = history.GetNextEntry(looping: false, 2, list);
+        var prevEntry = history.GetPreviousEntry(looping: true, 2, list);
         Assert.NotNull(prevEntry);
         Assert.True(File.Exists(prevEntry));