mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
🔧 Adjust tests
adjust to handle new behaviour
This commit is contained in:
parent
cd83ab41fc
commit
f1242718ea
@ -64,9 +64,10 @@ int main() {
|
||||
assert(initcpio.write());
|
||||
|
||||
// Checking insertion of equal items
|
||||
initcpio.append_module("radeon");
|
||||
initcpio.append_hook("btrfs");
|
||||
initcpio.append_module("crc32c-intel");
|
||||
assert(!initcpio.append_module("radeon"));
|
||||
assert(!initcpio.append_hook("btrfs"));
|
||||
assert(!initcpio.append_module("crc32c-intel"));
|
||||
assert(!initcpio.insert_hook("btrfs", {"usr", "lvm2", "zfs"}));
|
||||
|
||||
// Write data.
|
||||
assert(initcpio.write());
|
||||
|
Loading…
Reference in New Issue
Block a user