mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 14:10:11 +01:00
FFPlatform: only add a path to data dirs if the path exits
This commit is contained in:
@@ -87,6 +87,12 @@ int main(void)
|
||||
n = 999;
|
||||
VERIFY(ffListFirstIndexComp(&list, &n, numEqualsAdapter) == list.length);
|
||||
|
||||
// ffListContains
|
||||
n = 10;
|
||||
VERIFY(ffListContains(&list, &n, numEqualsAdapter));
|
||||
n = 999;
|
||||
VERIFY(!ffListContains(&list, &n, numEqualsAdapter));
|
||||
|
||||
//shift
|
||||
VERIFY(ffListShift(&list, &n));
|
||||
VERIFY(n == 1);
|
||||
|
||||
Reference in New Issue
Block a user