fix local markdown resource missing tabs and title setting
This commit is contained in:
@@ -1597,7 +1597,8 @@ mod tests {
|
||||
"rootUri": root_uri,
|
||||
"options": {
|
||||
"wideLayout": true,
|
||||
"showToc": false
|
||||
"showToc": false,
|
||||
"hideTitleHeader": false
|
||||
}
|
||||
})
|
||||
.to_string(),
|
||||
@@ -1625,6 +1626,10 @@ mod tests {
|
||||
options_json["pages"][&renamed_document_id]["showToc"],
|
||||
false
|
||||
);
|
||||
assert_eq!(
|
||||
options_json["pages"][&renamed_document_id]["hideTitleHeader"],
|
||||
false
|
||||
);
|
||||
|
||||
let _ = std::fs::remove_dir_all(&root);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user