Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3545416

Browse files
author
Jonathan Yu
committed
chore: switch from memfs to fstest.MapFS
* Switch from memfs to built-in fstest.MapFS* Ensure httptest servers are closed during test cleanup* Swap ordering of expected/actual values in assertion functions* Use http.StatusOK constants for status codes* Add a 1-second context timeout for each request* Use the test httptest.Server.Client() so that we can handle TLS server certificates if desired
1 parent5bfdb0c commit3545416

File tree

3 files changed

+178
-115
lines changed

3 files changed

+178
-115
lines changed

‎go.mod‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ require (
4141
github.com/pion/transportv0.13.0
4242
github.com/pion/webrtc/v3v3.1.23
4343
github.com/pkg/browserv0.0.0-20210911075715-681adbf594b8
44-
github.com/psanford/memfsv0.0.0-20210214183328-a001468d78ef
4544
github.com/quasilyte/go-ruleguard/dslv0.3.17
4645
github.com/spf13/cobrav1.3.0
4746
github.com/stretchr/testifyv1.7.0

‎go.sum‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,8 +1103,6 @@ github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4O
11031103
github.com/prometheus/procfsv0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
11041104
github.com/prometheus/procfsv0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
11051105
github.com/prometheus/tsdbv0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
1106-
github.com/psanford/memfsv0.0.0-20210214183328-a001468d78ef h1:NKxTG6GVGbfMXc2mIk+KphcH6hagbVXhcFkbTgYleTI=
1107-
github.com/psanford/memfsv0.0.0-20210214183328-a001468d78ef/go.mod h1:tcaRap0jS3eifrEEllL6ZMd9dg8IlDpi2S1oARrQ+NI=
11081106
github.com/quasilyte/go-ruleguard/dslv0.3.17 h1:L5xf3nifnRIdYe9vyMuY2sDnZHIgQol/fDq74FQz7ZY=
11091107
github.com/quasilyte/go-ruleguard/dslv0.3.17/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU=
11101108
github.com/remyoudompheng/bigfftv0.0.0-20190728182440-6a916e37a237/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp