File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
test/integration/invalid-custom-routes/test Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ function checkHeader(route: Header): string[] {
109109 if ( ! Array . isArray ( route . headers ) ) {
110110 invalidParts . push ( '`headers` field must be an array' )
111111 } else if ( route . headers . length === 0 ) {
112- invalidParts . push ( '`headers` field can not be empty' )
112+ invalidParts . push ( '`headers` field cannot be empty' )
113113 } else {
114114 for ( const header of route . headers ) {
115115 if ( ! header || typeof header !== 'object' ) {
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ const runTests = () => {
3838 const stderr = await getStderr ( )
3939
4040 expect ( stderr ) . toContain (
41- '`headers` field can not be empty for route {"source":"/:path*"'
41+ '`headers` field cannot be empty for route {"source":"/:path*"'
4242 )
4343 } )
4444
You can’t perform that action at this time.
0 commit comments