Skip to content

Commit 4cbb852

Browse files
p-mongop
andcommitted
RUBY-2452 OS name is linux on ruby-head (3.0) (#2138)
Co-authored-by: Oleg Pudeyev <oleg@bsdpower.com>
1 parent 91551aa commit 4cbb852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/mongo/server/app_metadata_shared.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
it 'includes operating system information' do
1212
document[:client][:os][:type].should == 'linux'
13-
if BSON::Environment.jruby?
13+
if BSON::Environment.jruby? || RUBY_VERSION >= '3.0'
1414
document[:client][:os][:name].should == 'linux'
1515
else
1616
document[:client][:os][:name].should == 'linux-gnu'

0 commit comments

Comments
 (0)