nondestructive 0.0.28

Nondestructive editing over various file formats.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use alloc::string::ToString;

use anyhow::Result;

use crate::yaml;

/// Just roundtrip a fairly complex document to ensure it's correctly processed.
#[test]
#[ignore = "Doesn't work as intended for now"]
fn actions() -> Result<()> {
    const ACTION: &str = include_str!("actions.yaml");
    let doc = yaml::from_slice(ACTION)?;
    assert_eq!(doc.to_string(), ACTION);
    Ok(())
}