Lines Matching full:want
7 want := "fatal error: all goroutines are asleep - deadlock!\n"
8 if !strings.HasPrefix(output, want) {
9 t.Fatalf("output does not start with %q:\n%s", want, output)
36 want := "no goroutines (main called runtime.Goexit) - deadlock!"
37 if !strings.Contains(output, want) {
38 t.Fatalf("output:\n%s\n\nwant output containing: %s", output, want)
45 if !strings.HasPrefix(output, want) {
46 t.Fatalf("output does not start with %q:\n%s", want, output)
54 want := "no goroutines (main called runtime.Goexit) - deadlock!"
55 if !strings.Contains(output, want) {
56 t.Fatalf("output:\n%s\n\nwant output containing: %s", output, want)
63 want := "runtime.Breakpoint("
64 if !strings.Contains(output, want) {
65 t.Fatalf("output:\n%s\n\nwant output containing: %s", output, want)
73 want := "fatal error: no goroutines (main called runtime.Goexit) - deadlock!"
74 if !strings.HasPrefix(output, want) {
75 t.Fatalf("output does not start with %q:\n%s", want, output)
81 want := "panic: hello"
82 if !strings.HasPrefix(output, want) {
83 t.Fatalf("output does not start with %q:\n%s", want, output)
90 want := "fatal error: no goroutines (main called runtime.Goexit) - deadlock!"
91 if !strings.HasPrefix(output, want) {
92 t.Fatalf("output does not start with %q:\n%s", want, output)
100 want := "OK\n"
101 if output != want {
102 t.Fatalf("want %s, got %s\n", want, output)
108 - want := "1\n"
109 - if output != want {
110 - t.Fatalf("want %q, got %q", want, output)
114 + t.Fatalf("want %q, got %q", want1, output)