diff options
Diffstat (limited to 'tests/nyble_pages.rs')
-rw-r--r-- | tests/nyble_pages.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/nyble_pages.rs b/tests/nyble_pages.rs new file mode 100644 index 0000000..14ca1cc --- /dev/null +++ b/tests/nyble_pages.rs @@ -0,0 +1,13 @@ +use cutie::Html; + +#[test] +fn pares_homepage() { + let str = std::fs::read_to_string("tests/nyble.html").unwrap(); + let html = Html::parse(&str); +} + +#[test] +fn parses_grass() { + let str = std::fs::read_to_string("tests/touching_grass.html").unwrap(); + let html = Html::parse(&str); +} |