@@ -24,13 +24,13 @@ class NoEmptyBlankConstraintTest extends BaseConstraintTestSupport {
2424 ' field( arg : String @NotBlank ) : ID' | " \t\n\r " | ' NotBlank;path=/arg;val:\t\n\r ;\t '
2525 ' field( arg : String @NotBlank ) : ID' | " " | ' NotBlank;path=/arg;val:;\t '
2626 ' field( arg : String @NotBlank ) : ID' | " \t\n\r X" | ' '
27- ' field( arg : String @NotBlank ) : ID' | null | ' NotBlank;path=/arg;val:null; \t '
27+ ' field( arg : String @NotBlank ) : ID' | null | ' '
2828
2929 // IDs
3030 ' field( arg : ID @NotBlank ) : ID' | " \t\n\r " | ' NotBlank;path=/arg;val:\t\n\r ;\t '
3131 ' field( arg : ID @NotBlank ) : ID' | " " | ' NotBlank;path=/arg;val:;\t '
3232 ' field( arg : ID @NotBlank ) : ID' | " \t\n\r X" | ' '
33- ' field( arg : ID @NotBlank ) : ID' | null | ' NotBlank;path=/arg;val:null; \t '
33+ ' field( arg : ID @NotBlank ) : ID' | null | ' '
3434 }
3535
3636 @Unroll
@@ -48,28 +48,28 @@ class NoEmptyBlankConstraintTest extends BaseConstraintTestSupport {
4848 fieldDeclaration | argVal | expectedMessage
4949 // strings
5050 ' field( arg : String @NotEmpty ) : ID' | " " | ' NotEmpty;path=/arg;val:;\t '
51- ' field( arg : String @NotEmpty ) : ID' | null | ' NotEmpty;path=/arg;val:null; \t '
51+ ' field( arg : String @NotEmpty ) : ID' | null | ' '
5252 ' field( arg : String @NotEmpty ) : ID' | " \t\n\r " | ' '
5353 ' field( arg : String @NotEmpty ) : ID' | " ABC" | ' '
5454
5555 // IDs
5656 ' field( arg : ID @NotEmpty ) : ID' | " " | ' NotEmpty;path=/arg;val:;\t '
57- ' field( arg : ID @NotEmpty ) : ID' | null | ' NotEmpty;path=/arg;val:null; \t '
57+ ' field( arg : ID @NotEmpty ) : ID' | null | ' '
5858 ' field( arg : ID @NotEmpty ) : ID' | " \t\n\r " | ' '
5959 ' field( arg : ID @NotEmpty ) : ID' | " ABC" | ' '
6060
6161
6262 // objects
6363 ' field( arg : InputObject @NotEmpty ) : ID' | [:] | ' NotEmpty;path=/arg;val:[:];\t '
64- ' field( arg : InputObject @NotEmpty ) : ID' | null | ' NotEmpty;path=/arg;val:null; \t '
64+ ' field( arg : InputObject @NotEmpty ) : ID' | null | ' '
6565 ' field( arg : InputObject @NotEmpty ) : ID' | [name : " x" ] | ' '
6666
6767 // lists
6868 ' field( arg : [String] @NotEmpty ) : ID' | [] | ' NotEmpty;path=/arg;val:[];\t '
69- ' field( arg : [String] @NotEmpty ) : ID' | null | ' NotEmpty;path=/arg;val:null; \t '
69+ ' field( arg : [String] @NotEmpty ) : ID' | null | ' '
7070 ' field( arg : [String] @NotEmpty ) : ID' | [" x" ] | ' '
7171 ' field( arg : [ID] @NotEmpty ) : ID' | [] | ' NotEmpty;path=/arg;val:[];\t '
72- ' field( arg : [ID] @NotEmpty ) : ID' | null | ' NotEmpty;path=/arg;val:null; \t '
72+ ' field( arg : [ID] @NotEmpty ) : ID' | null | ' '
7373 ' field( arg : [ID] @NotEmpty ) : ID' | [" x" ] | ' '
7474
7575 }
0 commit comments