texlab/tests/integration/lsp/issues.rs
2022-07-28 18:09:42 +02:00

12 lines
258 B
Rust

use anyhow::Result;
use insta::assert_debug_snapshot;
use texlab::Options;
#[test]
fn issue_707() -> Result<()> {
assert_debug_snapshot!(
serde_json::from_value::<Option<Options>>(serde_json::json!({}))?.unwrap_or_default()
);
Ok(())
}