8000 fix: numerical validation grammer (#10924) · coder/coder@18c4a98 · GitHub
[go: up one dir, main page]

Skip to content

Commit 18c4a98

Browse files
authored
fix: numerical validation grammer (#10924)
1 parent 19b6d19 commit 18c4a98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coderd/activitybump_internal_test.go

+1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ func Test_ActivityBumpWorkspace(t *testing.T) {
258258
expectedDeadlineStart := start.Add(tt.expectedBump).Add(time.Minute * -1)
259259
expectedDeadlineEnd := end.Add(tt.expectedBump).Add(time.Minute)
260260
require.GreaterOrEqual(t, updatedBuild.Deadline, expectedDeadlineStart, "new deadline should be greater than or equal to start")
261-
require.LessOrEqual(t, updatedBuild.Deadline, expectedDeadlineEnd, "new deadline should be lesser than or equal to end")
261+
require.LessOrEqual(t, updatedBuild.Deadline, expectedDeadlineEnd, "new deadline should be less than or equal to end")
262262
})
263263
}
264264
}

site/src/utils/richParameters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const useValidationSchemaForRichParameters = (
7575
if (templateParameter.validation_max < Number(val)) {
7676
return ctx.createError({
7777
path: ctx.path,
78-
message: `Value must be lesser than ${templateParameter.validation_max}.`,
78+
message: `Value must be less than ${templateParameter.validation_max}.`,
7979
});
8080
}
8181
} else if (

0 commit comments

Comments
 (0)
0