diff options
Diffstat (limited to 'doc/functions/library')
-rw-r--r-- | doc/functions/library/asserts.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/functions/library/asserts.xml b/doc/functions/library/asserts.xml index 10891039e8696..7c94222ef139e 100644 --- a/doc/functions/library/asserts.xml +++ b/doc/functions/library/asserts.xml @@ -103,7 +103,7 @@ stderr> assert failed <title>Ensuring a user provided a possible value</title> <programlisting><![CDATA[ let sslLibrary = "bearssl"; -in lib.asserts.assertOneOf "sslLibrary" sslLibrary [ "openssl" "bearssl" ]; +in lib.asserts.assertOneOf "sslLibrary" sslLibrary [ "openssl" "libressl" ]; => false stderr> trace: sslLibrary must be one of "openssl", "libressl", but is: "bearssl" ]]></programlisting> |