mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Include trailing slash when checking for dir segment
This commit is contained in:
@@ -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", ->
|
||||
|
||||
Reference in New Issue
Block a user