xref: /openbsd-src/lib/libkeynote/testsuite/test-assertion5 (revision 983e9580c78bcbd602dac2064d50cd87f7355afc)
1*983e9580Sangeloskeynote-version: 2
2*983e9580Sangelosauthorizer: "Key5"
3*983e9580Sangeloslicensees: "Key6"
4*983e9580Sangelos# this assertion will evaluate to "false" because of the conditions field value
5*983e9580Sangelosconditions: app_domain == "testing" && request == "test" &&
6*983e9580Sangelos		  variable == "no" -> "true";	# this clause won't match
7*983e9580Sangelos	     app_domain == "testing" -> {
8*983e9580Sangelos		app_domain == "testing" -> "false"; # this will match
9*983e9580Sangelos		var == "no" -> { foo == "bar" ->
10*983e9580Sangelos					"false"; # this won't match
11*983e9580Sangelos							   };
12*983e9580Sangelos					};
13