aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/display-tricky.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-03-21 14:10:24 -0600
committerMelody Horn <melody@boringcactus.com>2021-03-21 14:10:24 -0600
commit7bbbfd046324363c8db1fb15d39aeb02fe7331b5 (patch)
treea416bb991c23e083d0b5816dfc8b00cd1aceda78 /test-suite/tests/display-tricky.rs
parentb1417006df376e6c406bff43740dd11aa7ef744e (diff)
downloadmilf-rs-7bbbfd046324363c8db1fb15d39aeb02fe7331b5.tar.gz
milf-rs-7bbbfd046324363c8db1fb15d39aeb02fe7331b5.zip
hilarious and original jokeHEADmain
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();
}