Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
isidore committed Feb 15, 2024
2 parents 804e4a9 + 8c5dfba commit 1882c5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/updateMarkdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Git Commit and Push
uses: github-actions-x/commit@v2.9
with:
commit-message: "d updated markdown snippets"
commit-message: ". d updated markdown snippets"
rebase: 'true'
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'master'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@ private static <T> Function1<String, T> getTransformerForClass(Class<T> tranform
}
public Queryable<Tuple<String, T>> parse()
{
return Queryable.as(expected.lines())
.select(l -> l.split("->")[0].trim())
.where(l -> !l.isEmpty())
.select(l -> transformer.call(l));
return Queryable.as(expected.lines()).select(l -> l.split("->")[0].trim()).where(l -> !l.isEmpty())
.select(l -> transformer.call(l));
}
public String print(String input, Object output)
{
Expand Down

0 comments on commit 1882c5b

Please sign in to comment.