test/functional/streamer.rb in mosql-0.4.0 vs test/functional/streamer.rb in mosql-0.4.1

- old
+ new

@@ -260,20 +260,20 @@ it 'raises on error by default' do assert_raises(Sequel::DatabaseError) do @streamer.handle_op({ 'ns' => 'mosql_test.collection', 'op' => 'u', 'o2' => { '_id' => 'a' }, - 'o' => { 'var' => 1 << 70 }, + 'o' => { 'var' => 1 << 62 }, }) end end it 'does not raises on error with :unsafe' do @streamer.options[:unsafe] = true @streamer.handle_op({ 'ns' => 'mosql_test.collection', 'op' => 'u', 'o2' => { '_id' => 'a' }, - 'o' => { 'var' => 1 << 70 }, + 'o' => { 'var' => 1 << 62 }, }) assert_equal(0, sequel[:sqltable].where(:_id => 'a').count) end end end