Merge pull request #105492 from alunduil/assertOneOf-typo
This commit is contained in:
commit
c858d0f63a
|
@ -103,7 +103,7 @@ stderr> assert failed
|
||||||
<title>Ensuring a user provided a possible value</title>
|
<title>Ensuring a user provided a possible value</title>
|
||||||
<programlisting><![CDATA[
|
<programlisting><![CDATA[
|
||||||
let sslLibrary = "bearssl";
|
let sslLibrary = "bearssl";
|
||||||
in lib.asserts.assertOneOf "sslLibrary" sslLibrary [ "openssl" "bearssl" ];
|
in lib.asserts.assertOneOf "sslLibrary" sslLibrary [ "openssl" "libressl" ];
|
||||||
=> false
|
=> false
|
||||||
stderr> trace: sslLibrary must be one of "openssl", "libressl", but is: "bearssl"
|
stderr> trace: sslLibrary must be one of "openssl", "libressl", but is: "bearssl"
|
||||||
]]></programlisting>
|
]]></programlisting>
|
||||||
|
|
Loading…
Reference in New Issue