One-dimensional domain implies Cohen-Macaulay