test: Make page_exists call explicit

- Add '!' to col.page_exists('intro') call
This commit is contained in:
Mahmoud-Emad
2025-11-17 14:56:43 +02:00
parent 82375f9b89
commit 2ab0dfa6b8

View File

@@ -51,7 +51,7 @@ fn test_scan() {
assert a.collections.len == 1
col := a.get_collection('guides')!
assert col.page_exists('intro')
assert col.page_exists('intro')!
}
fn test_export() {