Skip to content

Commit e064fa4

Browse files
committed
Test for specific field in explain test
1 parent 0ce86be commit e064fa4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/cursor_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def test_explain
171171
else
172172
cursor = @coll.find('a' => 1)
173173
assert_not_nil explanation
174+
assert explanation.keys.include?('executionStats')
174175
end
175176
end
176177

0 commit comments

Comments
 (0)