Skip to content

Commit

Permalink
unimportant
Browse files Browse the repository at this point in the history
  • Loading branch information
capr committed Dec 14, 2017
1 parent bea7682 commit 2850bf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions path.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ combinations are between anything except `dev_alias` and `rel` paths,
between `abs_nodrive` and `rel_drive`, and between `rel_drive` and `abs`
or `abs_long`. When the paths can only be combined in one way, paths can be
given in any order. The separator with which paths are combined is either
`sep` or it's detected and if that fails `dsep` or the default separator
is used.
`sep` or if `sep` is nil it's detected and if that fails `dsep` or the
default separator is used.

### `path.abs(s, pwd, [pl], [sep], [dsep]) -> s|nil,err`

Expand Down
1 change: 1 addition & 0 deletions path_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ test('C:/a', 'win', 'C:/')
test('a', 'win', '.')
test('aa', 'win', '.')
test('\\aa', 'unix', '.')
test('C:a', 'win', 'C:')

--dir of empty filename
test('a/', 'win', 'a')
Expand Down

0 comments on commit 2850bf0

Please sign in to comment.