(t *testing.T)
| 47 | } |
| 48 | |
| 49 | func TestDetectGNSSSerialFromMissingFile(t *testing.T) { |
| 50 | _, err := detectGNSSSerialFrom("/nonexistent/sysfs/ttyGNSS") |
| 51 | require.Error(t, err) |
| 52 | require.Contains(t, err.Error(), "cannot read") |
| 53 | } |
| 54 | |
| 55 | func TestDetectGNSSSerialFromEmptyFile(t *testing.T) { |
| 56 | dir := t.TempDir() |
nothing calls this directly
no test coverage detected
searching dependent graphs…