Remove legacy steamcmd and SCUM runtime coupling
This commit is contained in:
@@ -3,7 +3,7 @@ package main
|
||||
import "testing"
|
||||
|
||||
func TestDiagnosticPlatformAddressOmitsCredentials(t *testing.T) {
|
||||
if got := diagnosticPlatformAddress("https://token:secret@scum.npc0.com/api"); got != "https://scum.npc0.com/api" {
|
||||
if got := diagnosticPlatformAddress("https://token:secret@platform.example.test/api"); got != "https://platform.example.test/api" {
|
||||
t.Fatalf("unexpected diagnostic address %q", got)
|
||||
}
|
||||
if got := diagnosticPlatformAddress("not a URL"); got != "invalid" {
|
||||
|
||||
Reference in New Issue
Block a user