File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
TestVectors/dafny/DDBEncryption/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -854,11 +854,11 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
854
854
);
855
855
var resultForInsertStatement := wClient. ExecuteStatement (inputForInsertStatement);
856
856
expect resultForInsertStatement. Failure?;
857
- print ( resultForInsertStatement. error. objMessage) ;
857
+ expect resultForInsertStatement. error. objMessage == "ExecuteStatement not Supported on encrypted tables . " ;
858
858
859
859
// Create a PartiQL SELECT statement
860
860
// The dynamodb attributes are random and non-existent because ExecuteStatement is supposed to be failed before going into dynamodb.
861
- var selectStatement := "SELECT * FROM" + TableName + "WHERE partition_key = 'a' AND sort_key = 'b'";
861
+ var selectStatement := "SELECT * FROM " + TableName + " WHERE partition_key = 'a' AND sort_key = 'b'";
862
862
var inputForSelectStatement := DDB. ExecuteStatementInput (
863
863
Statement := selectStatement,
864
864
Parameters := None,
@@ -869,7 +869,7 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
869
869
);
870
870
var resultForSelectStatement := rClient. ExecuteStatement (inputForSelectStatement);
871
871
expect resultForSelectStatement. Failure?;
872
- print ( resultForSelectStatement. error. objMessage) ;
872
+ expect resultForSelectStatement. error. objMessage == "ExecuteStatement not Supported on encrypted tables . " ;
873
873
}
874
874
875
875
method FindMatchingRecord (expected : DDB .AttributeMap, actual : DDB .ItemList) returns (output : bool )
You can’t perform that action at this time.
0 commit comments