mongosh’s single-line history functionality converts
console.log(`a b`)
into
which is a different string.