diff options
Diffstat (limited to 'renderer/src/html/tests.rs')
| -rw-r--r-- | renderer/src/html/tests.rs | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/renderer/src/html/tests.rs b/renderer/src/html/tests.rs index 6a0f350..26c9e72 100644 --- a/renderer/src/html/tests.rs +++ b/renderer/src/html/tests.rs @@ -73,6 +73,15 @@ reference and the target.</p>\  }  #[test] +fn standalone_hyperlinks() { +	check_renders_to("\ +Some http://url and a not_url_scheme:foo that is not supposed to be an url. +", "\ +<p>Some <a href=\"http://url/\">http://url</a> and a not_url_scheme:foo that is not supposed to be an url.</p>\ +"); +} + +#[test]  fn substitution() {  	check_renders_to("\  A |subst|. | 
