mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-01-20 17:54:33 +00:00
testing
This commit is contained in:
parent
2751831a75
commit
54f0bdee86
2 changed files with 7 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
|||
r#"
|
||||
# ____ _
|
||||
# / ___| _ _ __ _ __ __ _| |_ ___
|
||||
# | | | | | | '_ \| '__/ _` | __/ _ \
|
||||
|
@ -74,5 +73,3 @@ max_txpool_size = 100_000_000
|
|||
path = "{blockchain}"
|
||||
## The database sync mode for the blockchain.
|
||||
sync_mode = "Async"
|
||||
|
||||
"#
|
|
@ -52,6 +52,13 @@ mod tests {
|
|||
fn generate_config_text_covers_all_values() {
|
||||
let text = generate_config_text();
|
||||
|
||||
#[cfg!(target_os = "windows")]
|
||||
{
|
||||
let full_config = Config::default();
|
||||
panic!(toml::to_string_pretty(&full_config).unwrap());
|
||||
}
|
||||
|
||||
|
||||
let table: toml::Table = toml::from_str(&text).unwrap();
|
||||
|
||||
let full_config = Config::default();
|
||||
|
|
Loading…
Reference in a new issue