Commit e46be3ab
e46be3abf883Merged
Yukihiro "Matz" Matsumoto <[email protected]> · 6 months ago · 1 file · ~1 modified
Description
fix(test): file_write_poly_arg uses cwd-relative path for Windows
The /tmp/spinel_i643_test.txt path tripped File#write on the windows-mingw CI runner (no /tmp). Switch to cwd-relative. Matches the existing feedback_windows_tmp_path guidance.
Co-Authored-By: Claude Opus 4.7 [email protected]
Details
- Commit
- e46be3abf883
- Parent
- 0881702f7a17
test/file_write_poly_arg.rbmodifiedView file
@@ -28,7 +28,9 @@
2828
2929
# results is poly_array; result of [0] dispatch is poly. File.write3030
# call site must unbox before the sp_file_write boundary.31-
path = "/tmp/spinel_i643_test.txt"31+
# Use cwd-relative path so Windows MinGW (no `/tmp`) passes —32+
# memory: feedback_windows_tmp_path.33+
path = "spinel_i643_test.txt"3234
File.write(path, results[0])3335
puts File.read(path)3436
File.delete(path)