@@ -907,7 +907,7 @@ generate_validator = function(ctx, schema)
907
907
if schema .exclusiveMinimum then
908
908
ctx :stmt (sformat (' if %s %s %s then' , ctx :param (1 ), " <=" , schema .exclusiveMinimum ))
909
909
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 )))
911
911
ctx :stmt ( ' end' )
912
912
end
913
913
@@ -921,7 +921,7 @@ generate_validator = function(ctx, schema)
921
921
if schema .exclusiveMaximum then
922
922
ctx :stmt (sformat (' if %s %s %s then' , ctx :param (1 ), " >=" , schema .exclusiveMaximum ))
923
923
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 )))
925
925
ctx :stmt ( ' end' )
926
926
end
927
927
0 commit comments