diff --git a/backend/schema/validate_test.go b/backend/schema/validate_test.go index 40f27092cc..b4799b4664 100644 --- a/backend/schema/validate_test.go +++ b/backend/schema/validate_test.go @@ -368,6 +368,17 @@ func TestValidate(t *testing.T) { `8:7-7: verb C: retry must have a minimum backoff of 1s`, }, }, + {name: "InvalidRetryInvalidSpace", + schema: ` + module one { + verb A(Empty) Unit + +retry 10 5 s + } + `, + errs: []string{ + `4:19: unexpected token "s"`, + }, + }, } for _, test := range tests {