We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ac97d5 commit 1a79bdaCopy full SHA for 1a79bda
spec/integration/bson_symbol_spec.rb
@@ -25,7 +25,7 @@
25
end
26
27
it 'round-trips symbol values using the same byte buffer' do
28
- if BSON::Environment.jruby? && BSON::VERSION < "4.11.0"
+ if BSON::Environment.jruby? && (BSON::VERSION.split('.').map(&:to_i) <=> [4, 11, 0]) < 0
29
skip 'This test is only relevant to bson versions that increment ByteBuffer '\
30
'read and write positions separately in JRuby, as implemented in ' \
31
'bson version 4.11.0. For more information, see https://jira.mongodb.org/browse/RUBY-2128'
0 commit comments