# The terminal's trick. "!gekno" is one transposition from "!gekon", which is # why the distance is optimal string alignment rather than difflib's ratio -- # a swap costs one edit there and shreds the matching blocks difflib counts. name: "a near miss is corrected" inject: - { text: "!gekno", uuid: uuid-alice, name: Alice } expect: - { kind: text, to: reply, contains: "!gekon" }