diff options
author | Jovansonlee Cesar <ivanceras@gmail.com> | 2022-07-28 22:49:47 +0800 |
---|---|---|
committer | Jovansonlee Cesar <ivanceras@gmail.com> | 2022-07-28 22:49:47 +0800 |
commit | 318beac1811774f09b67f37f456805bdd7b01dd7 (patch) | |
tree | e9f0728c253c7393ecf380b9517f5a9c6a48e0e9 | |
parent | ce34ab7b3d8cbcbe486ee55b85b512816c92d5ed (diff) |
fix test for html indention
-rw-r--r-- | packages/svgbob/tests/simple_shapes.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/svgbob/tests/simple_shapes.rs b/packages/svgbob/tests/simple_shapes.rs index 152dd9b..9066895 100644 --- a/packages/svgbob/tests/simple_shapes.rs +++ b/packages/svgbob/tests/simple_shapes.rs @@ -9,7 +9,7 @@ fn rect1() { "#; let expected = r#"<svg xmlns="http://www.w3.org/2000/svg" width="136" height="80"> - <rect x="36" y="24" width="88" height="32" class="solid nofill" rx="0"></rect> + <rect x="36" y="24" width="88" height="32" class="solid nofill" rx="0"></rect> </svg>"#; let mut settings = Settings::default(); @@ -30,9 +30,9 @@ fn escaped_shape() { "#; let expected = r#"<svg xmlns="http://www.w3.org/2000/svg" width="16" height="32"> - <text x="34" y="28" >+----------+</text> - <text x="34" y="44" >| |</text> - <text x="34" y="60" >+----------+</text> + <text x="34" y="28" >+----------+</text> + <text x="34" y="44" >| |</text> + <text x="34" y="60" >+----------+</text> </svg>"#; let mut settings = Settings::default(); @@ -53,7 +53,7 @@ fn rounded_rect() { "#; let expected = r#"<svg xmlns="http://www.w3.org/2000/svg" width="136" height="80"> - <rect x="36" y="24" width="88" height="32" class="solid nofill" rx="4"></rect> + <rect x="36" y="24" width="88" height="32" class="solid nofill" rx="4"></rect> </svg>"#; let mut settings = Settings::default(); |