From f51c5dffedd93dea758bb5db61df37829d5c312a Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 1 Oct 2012 22:50:17 -0700 Subject: [PATCH] Include trailing slash when checking for dir segment --- spec/stdlib/fs-spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/stdlib/fs-spec.coffee b/spec/stdlib/fs-spec.coffee index 248762ffe..d19c2f253 100644 --- a/spec/stdlib/fs-spec.coffee +++ b/spec/stdlib/fs-spec.coffee @@ -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", ->