mirror of
https://github.com/latex-lsp/texlab.git
synced 2025-12-23 09:19:21 +00:00
12 lines
258 B
Rust
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(())
|
|
}
|