diff options
author | gennyble <gen@nyble.dev> | 2023-12-27 15:06:29 -0600 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2023-12-27 15:06:33 -0600 |
commit | f4e186c2946c40ffbc03dfaf383e067333fc0852 (patch) | |
tree | e583337b5ee9e6c9df20bb760806d1cccce3fd31 /tests/nyble_pages.rs | |
parent | cd672d033386d4f575f31b49bebb81f20e808d7f (diff) | |
download | cutie-f4e186c2946c40ffbc03dfaf383e067333fc0852.tar.gz cutie-f4e186c2946c40ffbc03dfaf383e067333fc0852.zip |
parses inline script/style
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); +} |