Re #10843. Fix a doc test.