# file : cxx/parser/validation/all/testscript # license : GNU GPL v2 + exceptions; see accompanying LICENSE file test.arguments += test.xml : valid : { cat <=test.xml; a b c a b c a b a c a EOI $* } : invalid1 : { cat <=test.xml; b c EOI $* >>EOO :7:8 error: expected element 'a' instead of 'b' EOO } : invalid2 : { cat <=test.xml; a b c EOI $* >>EOO :10:19 error: expected attribute 'z' EOO } : invalid3 : { cat <=test.xml; a b c a b c EOI $* >>EOO :11:8 error: unexpected element 'a' EOO } : invalid4 : { cat <=test.xml; b EOI $* >>EOO :7:8 error: expected element 'a' instead of 'b' EOO } : invalid5 : { cat <=test.xml; a b EOI $* >>EOO :9:19 error: expected attribute 'y' EOO }