-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [CI] Add test workflow * [CI] use npm ci instead of install * [CI] Run on a matrix. OS=[Win,Linux,Mac]; Node=[12,14,16] * [README.md] add badge for test workflow * [CI] Rename job from build to test * [README.md] Add npm badge * [Tests] use t.same instead of deprecated t.deepEqual Run npm test > [email protected] test /home/runner/work/parse-apache-directory-index/parse-apache-directory-index > tap --no-check-coverage test/*.js && semistandard TAP version 13 (node:1830) DeprecationWarning: deepEqual() is deprecated, use same() instead * Handle absolute URLs
- Loading branch information
1 parent
147ff07
commit c22cd11
Showing
3 changed files
with
97 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<html> | ||
<head> | ||
<title>Index of /foo/bar</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | ||
</head> | ||
<body> | ||
<h1>Index of /foo/bar</h1> | ||
<table cellspacing="10"> | ||
<tr> | ||
<th align="left">Name</th> | ||
<th>Last modified</th> | ||
<th>Size</th> | ||
<th>Description</th> | ||
</tr> | ||
<tr> | ||
<td><a href="../">Parent Directory</a></td> | ||
</tr> | ||
<tr> | ||
<td><a href="https://www.example.org/subdir-absolute/">subdir-absolute/</a></td> | ||
<td>Wed Jun 30 22:24:50 UTC 2021</td> | ||
<td align="right"></td> | ||
<td> </td> | ||
</tr> | ||
<tr> | ||
<td><a href="subdir-relative/">subdir-relative/</a></td> | ||
<td>Wed Jun 30 22:24:50 UTC 2021</td> | ||
<td align="right"></td> | ||
<td> </td> | ||
</tr> | ||
<tr> | ||
<td><a href="https://www.example.org/subfile-absolute.xml">subfile-absolute.xml</a></td> | ||
<td>Sun Jul 04 16:22:15 UTC 2021</td> | ||
<td align="right"> | ||
25 | ||
</td> | ||
<td> </td> | ||
</tr> | ||
<tr> | ||
<td><a href="subfile-relative.xml">subfile-relative.xml</a></td> | ||
<td>Sun Jul 04 16:22:15 UTC 2021</td> | ||
<td align="right"> | ||
25 | ||
</td> | ||
<td></td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters