| 23 | } |
| 24 | |
| 25 | type mockSystemInfo struct { |
| 26 | cpuArch string |
| 27 | arch string |
| 28 | osId string |
| 29 | cpuErr error |
| 30 | archErr error |
| 31 | osErr error |
| 32 | } |
| 33 | |
| 34 | func (m *mockSystemInfo) GetCpuArchitecture() (string, error) { |
| 35 | return m.cpuArch, m.cpuErr |
nothing calls this directly
no outgoing calls
no test coverage detected