(t *testing.T)
| 20 | ) |
| 21 | |
| 22 | func TestStructuredOutputCommandAudit(t *testing.T) { |
| 23 | got := structuredOutputCommandPathsWithVersion() |
| 24 | sort.Strings(got) |
| 25 | |
| 26 | want := expectedStructuredOutputCommands() |
| 27 | sort.Strings(want) |
| 28 | |
| 29 | if len(got) != len(want) { |
| 30 | t.Fatalf("structured commands = %v, want %v", got, want) |
| 31 | } |
| 32 | for i := range want { |
| 33 | if got[i] != want[i] { |
| 34 | t.Fatalf("structured commands = %v, want %v", got, want) |
| 35 | } |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | func TestStructuredOutputSuccessFixtureAudit(t *testing.T) { |
| 40 | contractCommands := jsonContractCommandPathsWithVersion() |
nothing calls this directly
no test coverage detected