diff options
Diffstat (limited to 'packages/svgbob/tests/simple_shapes.rs')
-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 3313c50..0b891fc 100644 --- a/packages/svgbob/tests/simple_shapes.rs +++ b/packages/svgbob/tests/simple_shapes.rs @@ -8,7 +8,7 @@ fn rect1() { +----------+ "#; - let expected = r#"<svg xmlns="http://www.w3.org/2000/svg" width="136" height="80"> + let expected = r#"<svg xmlns="http://www.w3.org/2000/svg" width="136" height="80" class="svgbob"> <rect x="36" y="24" width="88" height="32" class="solid nofill" rx="0"></rect> </svg>"#; @@ -25,7 +25,7 @@ fn escaped_shape() { "+----------+" "#; - let expected = r#"<svg xmlns="http://www.w3.org/2000/svg" width="16" height="32"> + let expected = r#"<svg xmlns="http://www.w3.org/2000/svg" width="16" height="32" class="svgbob"> <text x="34" y="28" >+----------+</text> <text x="34" y="44" >| |</text> <text x="34" y="60" >+----------+</text> @@ -44,7 +44,7 @@ fn rounded_rect() { '----------' "#; - let expected = r#"<svg xmlns="http://www.w3.org/2000/svg" width="136" height="80"> + let expected = r#"<svg xmlns="http://www.w3.org/2000/svg" width="136" height="80" class="svgbob"> <rect x="36" y="24" width="88" height="32" class="solid nofill" rx="4"></rect> </svg>"#; @@ -59,7 +59,7 @@ fn just_v() { V "#; - let expected = r#"<svg xmlns="http://www.w3.org/2000/svg" width="80" height="48"> + let expected = r#"<svg xmlns="http://www.w3.org/2000/svg" width="80" height="48" class="svgbob"> <text x="66" y="28" >V</text> </svg>"#; @@ -75,7 +75,7 @@ fn arrow_down() { V "#; - let expected = r#"<svg xmlns="http://www.w3.org/2000/svg" width="80" height="64"> + let expected = r#"<svg xmlns="http://www.w3.org/2000/svg" width="80" height="64" class="svgbob"> <line x1="68" y1="16" x2="68" y2="36" class="solid"></line> <polygon points="64,36 72,36 68,48" class="filled"></polygon> </svg>"#; |