(t *testing.T)
| 1086 | } |
| 1087 | |
| 1088 | func TestParseFileSizeOutput_Plain(t *testing.T) { |
| 1089 | size, err := ParseFileSizeOutput("12345\n") |
| 1090 | if err != nil { |
| 1091 | t.Fatalf("parse error: %v", err) |
| 1092 | } |
| 1093 | if size != 12345 { |
| 1094 | t.Errorf("expected 12345, got %d", size) |
| 1095 | } |
| 1096 | } |
| 1097 | |
| 1098 | func TestParseFileSizeOutput_WithMetadata(t *testing.T) { |
| 1099 | output := "Exit code: 0\nWall time: 0 seconds\nOutput:\n98765\n" |
nothing calls this directly
no test coverage detected