expect spec syntax