@@ -907,7 +907,7 @@ generate_validator = function(ctx, schema)
907907 if schema .exclusiveMinimum then
908908 ctx :stmt (sformat (' if %s %s %s then' , ctx :param (1 ), " <=" , schema .exclusiveMinimum ))
909909 ctx :stmt (sformat (' return false, %s("expected %%s to be %s than %s", %s)' ,
910- ctx :libfunc (' string.format' ), ' sctrictly greater' , schema .exclusiveMinimum , ctx :param (1 )))
910+ ctx :libfunc (' string.format' ), ' strictly greater' , schema .exclusiveMinimum , ctx :param (1 )))
911911 ctx :stmt ( ' end' )
912912 end
913913
@@ -921,7 +921,7 @@ generate_validator = function(ctx, schema)
921921 if schema .exclusiveMaximum then
922922 ctx :stmt (sformat (' if %s %s %s then' , ctx :param (1 ), " >=" , schema .exclusiveMaximum ))
923923 ctx :stmt (sformat (' return false, %s("expected %%s to be %s than %s", %s)' ,
924- ctx :libfunc (' string.format' ), ' sctrictly smaller' , schema .exclusiveMaximum , ctx :param (1 )))
924+ ctx :libfunc (' string.format' ), ' strictly smaller' , schema .exclusiveMaximum , ctx :param (1 )))
925925 ctx :stmt ( ' end' )
926926 end
927927
0 commit comments