Skip to content

Commit 4b0c56d

Browse files
committed
m
1 parent 645914a commit 4b0c56d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

TestVectors/dafny/DDBEncryption/src/TestVectors.dfy

+3-6
Original file line numberDiff line numberDiff line change
@@ -665,13 +665,10 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
665665
results[i] := FullSearch(client, queries[i]);
666666
}
667667

668-
var configs := tableEncryptionConfigs.Keys;
669-
while configs != {}
670-
decreases |configs|
671-
invariant forall k <- configs :: k in tableEncryptionConfigs
668+
var configs := SortedSets.ComputeSetToOrderedSequence2(tableEncryptionConfigs.Keys, CharLess);
669+
for i := 0 to |configs|
672670
{
673-
var config :| config in configs;
674-
configs := configs - { config };
671+
var config := configs[i];
675672
BasicQueryTestConfig(tableEncryptionConfigs[config], results, globalRecords);
676673
}
677674
}

0 commit comments

Comments
 (0)