Skip to content

Commit

Permalink
#37: reformat readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dgroup committed Jun 12, 2019
1 parent d8b767d commit 9ee12f9
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,9 @@ dependencies {
@Test
public void transformSql() throws TemplateException {
MatcherAssert.assertThat(
new Text("query.sql", "src/test/resources/velocity")
.compose(
new ArgOf("flag", true)
),
new Text("query.sql", "src/test/resources/velocity").compose(
new ArgOf("flag", true)
),
Matchers.equalTo(
"select 1 from dual\nunion\nselect 2 from dual\n"
)
Expand All @@ -86,10 +85,9 @@ dependencies {
@Test
public void hierarchical() throws TemplateException {
MatcherAssert.assertThat(
new Text("query.sql", "src/test/resources"))
.compose(
new ArgOf("flag", true)
),
new Text("query.sql", "src/test/resources").compose(
new ArgOf("flag", true)
),
Matchers.equalTo(
"select 1 from dual\nunion\nselect 2 from dual\n"
)
Expand All @@ -102,10 +100,9 @@ dependencies {
@Test
public void classpath() throws TemplateException {
MatcherAssert.assertThat(
new Text(new RelativePath("velocity/query.sql"))
.compose(
new ArgOf("flag", true)
),
new Text(new RelativePath("velocity/query.sql")).compose(
new ArgOf("flag", true)
),
Matchers.equalTo(
"select 1 from dual\nunion\nselect 2 from dual\n"
)
Expand Down

0 comments on commit 9ee12f9

Please sign in to comment.