convert a cuke to expect syntax