Skip to content

Commit f20675c

Browse files
committed
test: fix win tests 3
1 parent c0e7da0 commit f20675c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/read-file.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ describe('+ readFile()', function () {
122122

123123
jf.readFile(file, {throws: true}, function (err, obj2) {
124124
assert(err instanceof Error)
125-
assert(err.message.match(file))
125+
assert(err.message.match(fn))
126126
if (bothDone) {
127127
done()
128128
}
@@ -150,7 +150,7 @@ describe('+ readFile()', function () {
150150

151151
jf.readFile(file, {throws: true}, function (err, obj2) {
152152
assert(err instanceof Error)
153-
assert(err.message.match(file))
153+
assert(err.message.match(fn))
154154
if (bothDone) {
155155
done()
156156
}

0 commit comments

Comments
 (0)