Commit 2cf55b9a

2cf55b9a876aMerged

Yukihiro "Matz" Matsumoto <[email protected]> · 5 months ago · 1 file · ~1 modified

Description

test: i1006 use cwd-relative path for Windows MinGW

/tmp/... paths fail to fopen under MinGW; the test silently produced empty output and the diff against the Ruby-recorded expected went red. Switch to a cwd-relative file name so the path resolves on every CI target.

Co-Authored-By: Claude Opus 4.7 [email protected]

Details

Commit
2cf55b9a876a
Parent
c4bf8da0eb94

test/i1006.rbmodifiedView file

@@ -1,4 +1,4 @@
1-path = "/tmp/spinel_i1006.txt"
1+path = "i1006_tmp.txt"
22 File.delete(path) if File.exist?(path)
33
44 f = File.open(path, "w")