summaryrefslogtreecommitdiff
path: root/lib/libkeynote/testsuite/test-assertion5
blob: 7ca4cad5b8c6fca78249bf6ade6fce4237d83594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
keynote-version: 2
authorizer: "Key5"
licensees: "Key6"
# this assertion will evaluate to "false" because of the conditions field value
conditions: app_domain == "testing" && request == "test" &&
		  variable == "no" -> "true";	# this clause won't match
	     app_domain == "testing" -> {
		app_domain == "testing" -> "false"; # this will match
		var == "no" -> { foo == "bar" ->
					"false"; # this won't match
							   };
					};