Age | Commit message (Collapse) | Author |
|
This removes the std folder from the tree.
Various parts of the tests are pretty tightly dependent
on std (47 direct imports and 75 indirect imports, not
counting the cli tests that use them as fixtures) so I've
added std as a submodule for now.
|
|
(#9118)
Fixes: 9032.
|
|
This reverts commit 66e99d349b31f5cd30b868d80ebdab6ba749fd96.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fix path traversal problem when the request URI
does not have a leading slash.
The file server now returns HTTP 400 when requests
lack the leading slash, and are not absolute URIs.
(https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html).
|
|
|
|
|
|
This commit makes output of std/ tests less noisy
by passing "--quiet" flag to Deno subprocesses run
as part of test suite.
|
|
includes:
- http/file_server.ts
- testing/_diff.ts
- testing/asserts.ts
Relates to #7487
|
|
If the request body is using chunked encoding, errors may
be thrown in "request.finalize()".
In this case, we should untrack and close the connection.
|
|
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
|
|
Fixes #8339
|
|
|
|
This commit renames two assertion functions to better align with JS API:
- assertStringContains -> assertStringIncludes
- assertArrayContains -> assertArrayIncludes
|
|
|
|
|
|
Use $STD_VERSION in std/ README files to automatically
display proper version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This makes std/http tests runnable from any directory by spawning test
processes in the module directory resolved from import.meta.url and
resolving test data relative to the same module directory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
|
|
|
|
|
|
|
|
|
|
|