(t *testing.T)
| 44 | } |
| 45 | |
| 46 | func TestResolveInlineOrFileBytes_AtStdin(t *testing.T) { |
| 47 | got, err := resolveInlineOrFileBytes("@-", strings.NewReader(`{"from":"@-"}`)) |
| 48 | if err != nil { |
| 49 | t.Fatalf("resolve: %v", err) |
| 50 | } |
| 51 | if string(got) != `{"from":"@-"}` { |
| 52 | t.Fatalf("unexpected: %q", string(got)) |
| 53 | } |
| 54 | } |
nothing calls this directly
no test coverage detected