diff --git a/doc/learning/tutorial.html b/doc/learning/tutorial.html index 17b78cb1..dd5ca7f6 100644 --- a/doc/learning/tutorial.html +++ b/doc/learning/tutorial.html @@ -493,7 +493,7 @@

Errors

  • To assert a condition before an expression: assert "foo";
  • A custom failure message: assert "foo" : "message";
  • Assert fields have a property: assert self.f == 10,
  • -
  • With custom failure message: assert "foo" : "message",
  • +
  • With custom failure message: assert self.f == 10 : "message",
  • Try modifying the code below to trigger the assertion failures, and observe the error