- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NewWithT (0.1 sec)
-
istioctl/pkg/util/formatting/formatter_test.go
package formatting import ( "testing" . "github.com/onsi/gomega" "istio.io/istio/pkg/config/analysis/diag" "istio.io/istio/pkg/url" ) func TestFormatter_PrintLog(t *testing.T) { g := NewWithT(t) firstMsg := diag.NewMessage( diag.NewMessageType(diag.Error, "B1", "Explosion accident: %v"), diag.MockResource("SoapBubble"), "the bubble is too big", ) secondMsg := diag.NewMessage(
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.1K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze_test.go
. "github.com/onsi/gomega" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/util/testutil" "istio.io/istio/pkg/config/analysis/diag" ) func TestErrorOnIssuesFound(t *testing.T) { g := NewWithT(t) msgs := []diag.Message{ diag.NewMessage( diag.NewMessageType(diag.Error, "B1", "Template: %q"), nil, "", ), diag.NewMessage( diag.NewMessageType(diag.Warning, "A1", "Template: %q"),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 1.8K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
} else if diff := cmp.Diff(got, c.want); diff != "" { tt.Fatalf(" got %v\nwant %v\ndiff %v", got, c.want, diff) } }) } } func TestRemoteSecretOptions(t *testing.T) { g := NewWithT(t) ctx := cli.NewFakeContext(nil) o := RemoteSecretOptions{} flags := pflag.NewFlagSet("test", pflag.ContinueOnError) o.addFlags(flags) g.Expect(flags.Parse([]string{ "--name", "valid-name",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 20.7K bytes - Viewed (0)