diff --git a/tutorial.html b/tutorial.html index bc5203d..c3a927c 100644 --- a/tutorial.html +++ b/tutorial.html @@ -367,7 +367,7 @@ isValid := method(errors size == 0) assertValid := method( - if (emptyFields size, + if (emptyFields size != 0, Exception raise( self type .. " missing: " .. emptyFields join(", ") )