Skip to content

Commit

Permalink
serialization: test long strings and update serde_yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
badicsalex committed Sep 2, 2022
1 parent e46aa63 commit 77d18e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -27,7 +27,7 @@ regex = "1"
roman = "0.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
serde_yaml = "0.9.11"
tempfile = "3"
ureq = "2.4"

Expand Down
4 changes: 2 additions & 2 deletions tests/simple_tests/test_serialization.rs
Expand Up @@ -70,7 +70,7 @@ fn get_test_act() -> Act {
children: vec![
Paragraph {
identifier: Some(1.into()),
body: "Valami valami".into(),
body: "Valami valami hosszu szoveg csak azert hogy leteszteljuk hogy a yaml szerializacio mennyire nez ki jol igy. Remelhetoleg nem tori tobb sorba.".into(),
semantic_info: Default::default(),
},
Paragraph {
Expand Down Expand Up @@ -218,7 +218,7 @@ children:
identifier: 1:2
children:
- identifier: '1'
body: Valami valami
body: Valami valami hosszu szoveg csak azert hogy leteszteljuk hogy a yaml szerializacio mennyire nez ki jol igy. Remelhetoleg nem tori tobb sorba.
- identifier: '2'
body:
intro: Egy felsorolás legyen
Expand Down

0 comments on commit 77d18e9

Please sign in to comment.