Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestReadToJSON (0.1 sec)

  1. pkg/envoy/proxy_test.go

    		"--config-yaml", `{"key":"value"}`,
    		"--concurrency", "8",
    	}
    	if !reflect.DeepEqual(got, want) {
    		t.Errorf("envoyArgs() => got:\n%v,\nwant:\n%v", got, want)
    	}
    }
    
    func TestReadToJSON(t *testing.T) {
    	got, err := readBootstrapToJSON("testdata/bootstrap.yaml")
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    	want := `{"key":"value"}`
    	if got != want {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 11:45:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top