Include trailing slash when checking for dir segment

This commit is contained in:
Kevin Sawicki
2012-10-01 22:50:17 -07:00
parent 2b3991d74e
commit f51c5dffed

View File

@@ -83,7 +83,7 @@ describe "fs", ->
expect(paths.length).toBeGreaterThan 0
for path in paths
expect(path).not.toMatch /\/dir$/
expect(path).not.toMatch /\/dir\//
describe ".lastModified(path)", ->
it "returns a Date object representing the time the file was last modified", ->