[librsvg] tests/README.md: Fix the markup a bit
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] tests/README.md: Fix the markup a bit
- Date: Fri, 14 Jul 2017 17:05:08 +0000 (UTC)
commit cc2793c92e7eae3bab215bd12a47e4d40c203c86
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Jul 14 11:41:21 2017 -0500
tests/README.md: Fix the markup a bit
tests/README.md | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/tests/README.md b/tests/README.md
index 7abc025..91a741b 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -47,7 +47,7 @@ respectively.
# Tests and test fixtures
-## Image-based reference tests for rsvg-test.c
+## Image-based reference tests for `rsvg-test.c`
These will load, parse, and render an SVG, and compare the results
against a reference PNG image.
@@ -170,7 +170,9 @@ generated. However, they are done in such a way that objects tend not
to be pixel-aligned. For example, many tests have a rectangular frame
around the whole viewport, defined like this:
- <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+```
+<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+```
This specifies no stroke with, so it uses 1 by default. The desired
effect is "stroke this rectangle with a 1-pixel wide line".
@@ -201,13 +203,13 @@ from a secondary SVG).
In any case, look at the results by hand, and compare them by eye to
the official reference image. If the thing being tested looks
-correct, and just the outlines are fuzzy --- and also it is just the
-actual font shapes that are different --- then the test is probably
+correct, and just the outlines are fuzzy — and also it is just the
+actual font shapes that are different — then the test is probably
correct. Follow the procedure as in "Regenerating reference images"
listed above in order to have a reference image suitable for librsvg.
-## Crash tests for crash.c
+## Crash tests for `crash.c`
These load and parse an SVG, and ensure that there are no errors in
the process. Note that this does *not* render the images.
@@ -218,7 +220,7 @@ files, load them, and ensure that no GError was produced while loading
each file.
-## Style tests for styles.c
+## Style tests for `styles.c`
These load and parse an SVG, ask librsvg to fetch an SVG object by its
id, and ensure that the object has certain style properties with
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]