Skip to content

Commit 360d9c5

Browse files
committed
Test on Windows.
1 parent d614747 commit 360d9c5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
os:
2020
- ubuntu
2121
- macos
22+
- windows
2223

2324
ruby:
2425
- "3.2"
@@ -47,4 +48,4 @@ jobs:
4748

4849
- name: Run tests
4950
timeout-minutes: 10
50-
run: bundle exec bake test
51+
run: bundle exec sus --verbose

lib/io/stream/buffered.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def sysclose
106106
end
107107
end
108108

109-
if RUBY_VERSION >= "3.3"
109+
if RUBY_VERSION >= "3.3" and RUBY_PLATFORM !~ /win32|mswin|mingw/
110110
def syswrite(buffer)
111111
return @io.write(buffer)
112112
end

0 commit comments

Comments
 (0)