devscope.io

os,x/website/internal/web: TestTypeScript failures due to mismatched separators in error strings

golang/go

Issue

#!watchflakes
post <- pkg == "golang.org/x/website/internal/web" && test == "TestTypeScript"

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestTypeScript (0.07s)
    --- FAIL: TestTypeScript/file_not_found (0.01s)
        site_test.go:120: ServeHTTP() mismatch (-want +got):
              strings.Join({
                "\n\nopen testdata",
            -   "/",
            +   `\`,
                "notfound.ts: The system cannot find the file specified.\n",
              }, "")

watchflakes

2022-10-04 18:43:45


Add a Comment


Top 3 Comments

  bcmills answered on 2022-10-04 19:31:08

I expect that the fix may involve changes in both the way os.DirFS reports errors and the specific errors that TestTypeScript expects to see.

0 positive reactions.
  bcmills answered on 2022-10-04 19:29:51

This is fallout from https://go.dev/cl/426094; fix under discussion in https://go.dev/cl/437976.

0 positive reactions.
  gopherbot answered on 2022-10-04 18:44:06

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/website/internal/web" && test == "TestTypeScript"
2022-09-27 21:05 windows-arm64-10 [email protected] [email protected] x/website/internal/web.TestTypeScript (log) --- FAIL: TestTypeScript (0.07s) --- FAIL: TestTypeScript/file_not_found (0.01s) site_test.go:120: ServeHTTP() mismatch (-want +got):   strings.Join({    "\n\nopen testdata", -  "/", +  `\`,    "notfound.ts: The system cannot find the file specified.\n",   }, "")

watchflakes

0 positive reactions.

Quick Hint

Is Adobe Analytics better than Google Analytics?

Google Analytics Pros- Works on a real-time basis. Our Takeaway: Based on this comparison for Google Analytics vs Adobe Analytics, Google Analytics works better if you are looking for basic web analytics features while Adobe Analytics is a better option for advanced web analytics.

Repo Information


Age 8yrs
Vendor golang
Repo Name go
Primary Language Go
Default Branch master
Last Update 20 minutes ago

Golang's Code Library

Similar Issues

💾 hyperconverged-cluster-operator Bump golang dependencies 💬 16 open 🗓️ 19 hours ago
💾 gopay 支付宝 SystemOauthToken 应支持三方调用 💬 3 open 🗓️ 22 hours ago
💾 kata-containers workflow: call cargo in user's $PATH 💬 3 closed 🗓️ 1 day ago
💾 rultor Update dependency io.sentry:sentry to v6.9.1 💬 6 closed 🗓️ 1 day ago
💾 goonstation Cable spawners fix 💬 4 open 🗓️ 1 day ago