mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
fix regression issue with log paths oops
This commit is contained in:
@ -59,5 +59,14 @@ namespace ApplicationTests
|
||||
|
||||
Assert.AreEqual(expected, generated);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void Test_GenerateLogPath_RelativeBasePath()
|
||||
{
|
||||
string expected = "C:\\Game\\main\\folder\\log.log";
|
||||
string generated = IW4MServer.GenerateLogPath("main\\folder", "C:\\Game", "main\\folder", null, "log.log");
|
||||
|
||||
Assert.AreEqual(expected, generated);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user