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 {
854854 );
855855 var resultForInsertStatement := wClient. ExecuteStatement (inputForInsertStatement);
856856 expect resultForInsertStatement. Failure?;
857- print ( resultForInsertStatement. error. objMessage) ;
857+ expect resultForInsertStatement. error. objMessage == "ExecuteStatement not Supported on encrypted tables . " ;
858858
859859 // Create a PartiQL SELECT statement
860860 // 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'";
862862 var inputForSelectStatement := DDB. ExecuteStatementInput (
863863 Statement := selectStatement,
864864 Parameters := None,
@@ -869,7 +869,7 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
869869 );
870870 var resultForSelectStatement := rClient. ExecuteStatement (inputForSelectStatement);
871871 expect resultForSelectStatement. Failure?;
872- print ( resultForSelectStatement. error. objMessage) ;
872+ expect resultForSelectStatement. error. objMessage == "ExecuteStatement not Supported on encrypted tables . " ;
873873 }
874874
875875 method FindMatchingRecord (expected : DDB .AttributeMap, actual : DDB .ItemList) returns (output : bool )
You can’t perform that action at this time.
0 commit comments