~はずだった/~はずなのに
Was supposed to …; should have … (but)
N2
V / i-adj (plain form), na-adj+な, N+の + はずだった / はずなのに / はずじゃなかった
~はずだった expresses something the speaker was sure of or that was planned, but which did not turn out that way. ~はずなのに links directly to the contrary result, often with surprise, irritation or regret. The form ~はずじゃなかった (こんなはずじゃなかった) voices disappointment that things went differently. Unlike ~つもりだった (one's own intention) and ~ところだった (something bad nearly happened), はず rests on objective grounds such as a schedule, a rule or one's memory. Learners often keep the present ~はずだ for past events; when the thing did not happen, use はずだった.
Examples
部品は昨日届くはずだったのに、まだ倉庫に来ていない。
The parts were supposed to arrive yesterday, but they still haven't reached the warehouse.
今日は休みのはずだったが、急にシフトに入ることになった。
Today was supposed to be my day off, but suddenly I had to take a shift.
ちゃんと鍵をかけたはずなのに、事務所のドアが開いていた。
I was sure I had locked it, yet the office door was open.
Exercises
1.工事は先月終わる が、雨が続いて遅れている。
2.説明書どおりに設定した 、機械が動かない。