Skip to content

Commit

Permalink
#119 md fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 5, 2024
1 parent f66d7f5 commit f1f66c3
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img src="https://www.jcabi.com/logo-square.svg" width="64px" height="64px" />
# A Few Matchers for Hamcrest

[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)
[![Managed by Zerocracy](https://www.0crat.com/badge/C3RUBL5H9.svg)](https://www.0crat.com/p/C3RUBL5H9)
Expand All @@ -10,8 +10,9 @@
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-matchers/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-matchers)
[![codecov](https://codecov.io/gh/jcabi/jcabi-matchers/branch/master/graph/badge.svg)](https://codecov.io/gh/jcabi/jcabi-matchers)

More details are here: [matchers.jcabi.com](http://matchers.jcabi.com/index.html).
Also, read this blog post: [XML/XPath Matchers for Hamcrest](http://www.yegor256.com/2014/04/28/xml-xpath-hamcrest-matchers.html).
More details are here:
[matchers.jcabi.com](http://matchers.jcabi.com/index.html).
Also, read this blog post: [XML/XPath Matchers for Hamcrest][blog].

The library contains a collection of convenient Hamcrest matchers. For example:

Expand All @@ -25,7 +26,8 @@ MatcherAssert.assertThat(
);
```

To match XHTML documents you need to specify namespaces in your XPath expressions:
To match XHTML documents you need to specify namespaces in your
XPath expressions:

```java
MatcherAssert.assertThat(
Expand All @@ -34,7 +36,8 @@ MatcherAssert.assertThat(
);
```

Here, we use `xhtml` predefined namespace. There are also `xsl`, `xs`, `xsi`, and `svg` namespaces
Here, we use `xhtml` predefined namespace. There are also
`xsl`, `xs`, `xsi`, and `svg` namespaces
provided off-the-shelf. However, you can define your own too, for example:


Check failure on line 43 in README.md

View workflow job for this annotation

GitHub Actions / markdown-lint

Multiple consecutive blank lines [Expected: 1; Actual: 2]
Expand All @@ -55,6 +58,8 @@ the `master` branch, if they look correct.

Please run Maven build before submitting a pull request:

```bash
mvn clean install -Pqulice
```
$ mvn clean install -Pqulice
```

[blog]: http://www.yegor256.com/2014/04/28/xml-xpath-hamcrest-matchers.html

0 comments on commit f1f66c3

Please sign in to comment.