use new is_expected syntax for 1-liners