Skip to content

Commit 06bb09a

Browse files
committed
test(dictation): skip the compat-link case where symlinks cannot be made (#993)
os.Symlink needs a privilege a Windows host may not grant; treat a failed fixture link as unsupported rather than a test failure, matching the pattern workspacetrust already uses.
1 parent 7061428 commit 06bb09a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎internal/dictation/download_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3666,7 +3666,7 @@ func TestEnsureLocalEngineRefusesACompatPathThatIsASymlink(t *testing.T) {
36663666
t.Fatal(err)
36673667
}
36683668
if err := os.Symlink(outside, filepath.Join(root, "engine-rel", "v1-linux-amd64")); err != nil {
3669-
t.Fatal(err)
3669+
t.Skipf("os.Symlink unsupported on this platform: %v", err)
36703670
}
36713671

36723672
comp, err := EnsureLocalEngine(context.Background(), DownloadOptions{

0 commit comments

Comments
 (0)