diff options
| author | Philipp A | 2019-12-08 20:32:54 +0100 | 
|---|---|---|
| committer | Philipp A | 2019-12-09 12:03:04 +0100 | 
| commit | 7018f5d3c42f18b6c83f398db9f1915361a7c679 (patch) | |
| tree | e94ad68de64c2b853e07759d4630de81762845ed /src/renderer/html_tests.rs | |
| parent | 1f95ebcc0e4e1393531e3d20e02d750ba0b476d6 (diff) | |
| download | rust-rst-7018f5d3c42f18b6c83f398db9f1915361a7c679.tar.bz2 | |
Fix and test substitution
Diffstat (limited to 'src/renderer/html_tests.rs')
| -rw-r--r-- | src/renderer/html_tests.rs | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/src/renderer/html_tests.rs b/src/renderer/html_tests.rs index 62a02f6..117b2d4 100644 --- a/src/renderer/html_tests.rs +++ b/src/renderer/html_tests.rs @@ -70,6 +70,15 @@ reference and the target.</p>\  ");  } +#[test] +fn test_substitution() { +	check_renders_to("\ +A |subst|. + +.. |subst| replace:: text substitution +", "<p>A text substitution.</p>"); +} +  /*  #[test]  fn test_section_hierarchy() { | 
