Skip to content

Commit f5314fd

Browse files
committed
fix(tests): update file paths in cmd_test.go and plugin_boundary_test.go for accuracy
1 parent 4a4d874 commit f5314fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/lina-core/internal/cmd/cmd_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ var productionPanicPolicy = panicAuditPolicy{
357357
Reason: "invalid static workspace basePath would make frontend fallback route binding ambiguous, so startup must fail before serving HTTP traffic",
358358
},
359359
{
360-
Path: "apps/lina-core/internal/service/config/config_runtime_params_revision.go",
360+
Path: "apps/lina-core/internal/service/config/config_raw.go",
361361
Function: "configureRuntimeParamCacheDomain",
362362
Count: 1,
363363
Category: panicCategoryStaticConfig,

apps/lina-core/internal/service/plugin/plugin_boundary_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ func checkForbiddenHTTPStartupPluginSetterCalls(t *testing.T) {
605605
"ConfigureWasmHostServices": "WASM host service runtime must be constructed during plugin.New",
606606
}
607607
fileSet := token.NewFileSet()
608-
path := filepath.Join("..", "..", "cmd", "internal", "httpstartup", "http_runtime.go")
608+
path := filepath.Join("..", "..", "cmd", "internal", "httpstartup", "httpstartup_runtime.go")
609609
file, err := parser.ParseFile(fileSet, path, nil, 0)
610610
if err != nil {
611611
t.Fatalf("parse %s: %v", path, err)

0 commit comments

Comments
 (0)