Skip to content

Commit

Permalink
fixup! statements: Add assert
Browse files Browse the repository at this point in the history
  • Loading branch information
awelzel committed Oct 13, 2023
1 parent a6952ba commit f4eb211
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script-reference/statements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ Here are the statements that the Zeek scripting language supports.
- Add or delete elements

* - :zeek:keyword:`assert`
- Runtime sanity checking
- Runtime assertion

* - :zeek:keyword:`print`
- Print to stdout or a file
Expand Down Expand Up @@ -543,7 +543,7 @@ assert

.. versionadded:: 6.1

The ``assert`` statement can be used for runtime sanity checks or as a building
The ``assert`` statement can be used for runtime assertion checks or as a building
block for a testing framework. It takes an expression ``expr`` of type
:zeek:see:`bool` and an optional message of type :zeek:see:`string`.
If ``expr`` at runtime evaluates to ``F``, by default the string representation
Expand Down

0 comments on commit f4eb211

Please sign in to comment.