From ccb85d8fc50d86d6f51387d21cd3a4b9c867a8a4 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sun, 4 Apr 2010 16:44:34 -0400 Subject: Relax checking of table implications --- tests/policy.ur | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/policy.ur b/tests/policy.ur index 2b9fb4b3..bc4da5be 100644 --- a/tests/policy.ur +++ b/tests/policy.ur @@ -1,11 +1,11 @@ table fruit : { Id : int, Nam : string, Weight : float, Secret : string } -policy query_policy (SELECT fruit.Id, fruit.Nam FROM fruit) +policy query_policy (SELECT fruit.Id, fruit.Nam, fruit.Weight FROM fruit) fun main () = - xml <- queryX (SELECT fruit.Id, fruit.Nam, fruit.Secret + xml <- queryX (SELECT fruit.Id, fruit.Nam FROM fruit) - (fn x =>
  • {[x.Fruit.Secret]}
  • ); + (fn x =>
  • {[x.Fruit.Id]}: {[x.Fruit.Nam]}
  • ); return {xml} -- cgit v1.2.3