Add test for determinePacmanDatabaseDirectory
This commit is contained in:
parent
81fc8f1883
commit
4f474591da
12
src/Pacserver.Tests/pacmanDatabase_Test.cs
Normal file
12
src/Pacserver.Tests/pacmanDatabase_Test.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using Pacserver.Utils;
|
||||
|
||||
namespace Pacserver.Tests;
|
||||
|
||||
public class pacmanDatabase_Test {
|
||||
[Fact]
|
||||
public void doesPacmanDatabaseExist() {
|
||||
string result = PacserverUtils.determinePacmanDatabaseDirectory();
|
||||
|
||||
Assert.Equivalent(result, "/var/lib/pacman/");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user