interp/notwindows_test.go
raw| 1 | // Copyright (c) 2026, Daniel Martà <[email protected]> |
| 2 | // See LICENSE for licensing information |
| 3 | |
| 4 | //go:build !windows |
| 5 | |
| 6 | package interp_test |
| 7 | |
| 8 | // shortPathName only means anything on Windows; the call site is guarded by a |
| 9 | // runtime GOOS check. |
| 10 | func shortPathName(path string) (string, error) { |
| 11 | panic("only works on windows") |
| 12 | } |