Skip to content

Commit 7d225eb

Browse files
committed
Updated tests for TruffleRuby
1 parent 00448e6 commit 7d225eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ gemspec
44

55
gem "rake"
66
gem "minitest", ">= 5"
7-
gem "numo-narray", platform: [:ruby, :x64_mingw]
7+
gem "numo-narray", platform: [:mri, :x64_mingw]

test/thundersvm_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_cv
7070
end
7171

7272
def test_numo
73-
skip if RUBY_PLATFORM == "java"
73+
skip if ["jruby", "truffleruby"].include?(RUBY_ENGINE)
7474

7575
x = Numo::DFloat.cast([[1, 2], [3, 4], [5, 6], [7, 8]])
7676
y = Numo::Int32.cast([1, 1, 2, 2])

0 commit comments

Comments
 (0)