Skip to content

Commit

Permalink
remove template strings from tests to get green with node 12
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Bucaran committed Aug 16, 2015
1 parent 7811829 commit 6ae6da5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/foo.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FOO BAR
foo bar
8 changes: 4 additions & 4 deletions test/fly.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,14 @@ test("✈ fly.target", (t) => {
const fly = new Fly()
yield fly
.source("*.txt")
.filter((src) => `${src}`.toUpperCase())
.filter((data) => data.toString().toUpperCase())
.target(".")

yield fly
.source("*.txt")
.filter((src) => {
t.ok(`${src}` === "FOO BAR\n", "resolve source, filters and writers")
return src.toLowerCase()
.filter((data) => {
t.ok(data.toString() === "FOO BAR\n", "resolve source, filters and writers")
return data.toString().toLowerCase()
})
.target(".")
})
Expand Down

0 comments on commit 6ae6da5

Please sign in to comment.