aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/display-tricky.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/tests/display-tricky.rs')
-rw-r--r--test-suite/tests/display-tricky.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/test-suite/tests/display-tricky.rs b/test-suite/tests/display-tricky.rs
index 0daa10e..631ce70 100644
--- a/test-suite/tests/display-tricky.rs
+++ b/test-suite/tests/display-tricky.rs
@@ -1,4 +1,4 @@
-extern crate toml;
+extern crate milf;
#[macro_use]
extern crate serde_derive;
@@ -26,7 +26,7 @@ pub struct Packages {
#[test]
fn both_ends() {
- let recipe_works = toml::from_str::<Recipe>(
+ let recipe_works = milf::from_str::<Recipe>(
r#"
name = "testing"
description = "example"
@@ -37,9 +37,9 @@ fn both_ends() {
"#,
)
.unwrap();
- toml::to_string(&recipe_works).unwrap();
+ milf::to_string(&recipe_works).unwrap();
- let recipe_fails = toml::from_str::<Recipe>(
+ let recipe_fails = milf::from_str::<Recipe>(
r#"
name = "testing"
description = "example"
@@ -51,6 +51,6 @@ fn both_ends() {
)
.unwrap();
- let recipe_toml = toml::Value::try_from(recipe_fails).unwrap();
- recipe_toml.to_string();
+ let recipe_milf = milf::Value::try_from(recipe_fails).unwrap();
+ recipe_milf.to_string();
}