Skip to content

Commit 29b2653

Browse files
authored
Merge pull request #23 from ruby-jp/ruby-3-2-2
Test on Ruby 3.2
2 parents 6ce652e + e85312f commit 29b2653

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ on:
99
- cron: "0 0 * * 6" # At 00:00 on Saturday
1010
jobs:
1111
test:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
strategy:
1414
matrix:
15-
ruby: ["3.1", "3.0", "2.7", "2.6"]
15+
ruby: ["3.2", "3.1", "3.0", "2.7", "2.6"]
1616
name: Ruby ${{ matrix.ruby }}
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919
- uses: ruby/setup-ruby@v1
2020
with:
2121
ruby-version: ${{ matrix.ruby }}

test/test_connect_block.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
require File.expand_path 'test_helper', File.dirname(__FILE__)
22

3-
class TestWebSocketClientSimple < MiniTest::Test
4-
3+
class TestWebSocketClientSimple < Minitest::Test
4+
55
def test_onopen
6-
6+
77
EM::run{
8-
8+
99
EchoServer.start
1010

1111
res = nil
@@ -27,7 +27,7 @@ def test_onopen
2727
EM::stop_event_loop
2828
end
2929
}
30-
30+
3131
end
32-
32+
3333
end

test/test_websocket_client_simple.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require_relative 'test_helper'
22

3-
class TestWebSocketClientSimple < MiniTest::Test
3+
class TestWebSocketClientSimple < Minitest::Test
44

55
def test_echo
66
msgs = ['foo','bar','baz']

0 commit comments

Comments
 (0)