Skip to content

Commit

Permalink
#13: Formatting of readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dgroup committed Oct 22, 2018
1 parent c395994 commit 8724f21
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@
3. Define instance of velocity template
```java
@Test
public void transformSql() throws RsException {
MatcherAssert.assertThat(
new RsText(
"query.sql",
new PathOf("src{0}test{0}resources")
).compose(
new ArgOf("flag", true)
),
Matchers.equalTo("select 1 from dual\nunion\nselect 2 from dual\n")
);
}
public void transformSql() throws RsException {
MatcherAssert.assertThat(
new RsText(
"query.sql",
new PathOf("src{0}test{0}resources")
).compose(
new ArgOf("flag", true)
),
Matchers.equalTo("select 1 from dual\nunion\nselect 2 from dual\n")
);
}
```
where [RsText](/src/main/java/com/github/dgroup/velocity/rs/RsText.java) represents Apache Velocity resource
```java
Expand Down Expand Up @@ -87,4 +87,4 @@
...
}

```
```

0 comments on commit 8724f21

Please sign in to comment.