— Action by mechanic on an account for work done on house and materials furnished therefor. Defendant denied in her answer the allegations of the petition, and also alleged that plaintiff had contracted to do *627the work for a much less sum, and that he was fully paid such sum, &c. On trial had plaintiff had iudgment, which defendant seeks to reverse.
I. If there was any variance between the allegations of the petition and the evidence offered in their support, and the defendant was thereby misled, she should, under the statute, 2 Wag. Stat., § 1, p. 1083, have set forth in what respect she was misled, such affidavit is the only statutory test of that fact. Fischer v. Max, 49 Mo. 404; Turner v. Railroad, 51 Mo. 501; Clements v. Maloney, 55 Mo. 352; Wells v. Sharp, 57 Mo. 56; Ely v. Porter, 58 Mo. 158. As the affidavit of defendant was not filed, we are warranted in concluding she was not misled.
II. It is true the statute requires that the items of account be either set forth in the pleading or a copy of such account be attached to the petition, 2 Wag. Stat., § 38, p. 1020, or else that no evidence can he given respecting such items, but this statute was substantially complied with in the case before us; and if those items were not set forth with sufficient particularity, the defendant could have moved that the petition he made more definite and.certain. 2 Wag. Stat., § 20, p. 1018.
Viewing the matter in this light, we discover no error in the record, and affirm the judgment.
All concur.Affirmed.