@@ -4989,6 +4989,10 @@ func TestInterpretReferenceFailableDowncasting(t *testing.T) {
49894989 interpreter .Declare (baseActivation , valueDeclaration )
49904990
49914991 var err error
4992+
4993+ // This test manipulates the storage externally.
4994+ // But it only does that to the VM's storage.
4995+ // So comparing the storage is not possible.
49924996 inter , err = parseCheckAndPrepareWithOptionsWithoutStorageComparison (t ,
49934997 `
49944998 resource interface RI {}
@@ -12736,6 +12740,9 @@ func TestInterpretSomeValueChildContainerMutation(t *testing.T) {
1273612740
1273712741 newInter := func () Invokable {
1273812742
12743+ // This test manipulates the storage externally.
12744+ // But it only does that to the VM's storage.
12745+ // So comparing the storage is not possible.
1273912746 inter , err := parseCheckAndPrepareWithOptionsWithoutStorageComparison (t ,
1274012747 code ,
1274112748 ParseCheckAndInterpretOptions {
@@ -13450,6 +13457,8 @@ func TestInterpretVariableDeclarationSecondValueEvaluationOrder(t *testing.T) {
1345013457 baseActivation := activations .NewActivation (nil , interpreter .BaseActivation )
1345113458 interpreter .Declare (baseActivation , getKeyFunction )
1345213459
13460+ // Uses a standard library with a closure.
13461+ // Using it in the interpreter make it count twice.
1345313462 inter , err := parseCheckAndPrepareWithOptionsWithoutStorageComparison (
1345413463 t ,
1345513464 fmt .Sprintf (`
@@ -13539,6 +13548,8 @@ func TestInterpretVariableDeclarationSecondValueEvaluationOrder(t *testing.T) {
1353913548 interpreter .Declare (baseActivation , getKey1Function )
1354013549 interpreter .Declare (baseActivation , getKey2Function )
1354113550
13551+ // Uses a standard library with a closure.
13552+ // Using it in the interpreter make it count twice.
1354213553 inter , err := parseCheckAndPrepareWithOptionsWithoutStorageComparison (
1354313554 t ,
1354413555 `
@@ -13615,6 +13626,8 @@ func TestInterpretVariableDeclarationSecondValueEvaluationOrder(t *testing.T) {
1361513626 baseActivation := activations .NewActivation (nil , interpreter .BaseActivation )
1361613627 interpreter .Declare (baseActivation , getKeyFunction )
1361713628
13629+ // Uses a standard library with a closure.
13630+ // Using it in the interpreter make it count twice.
1361813631 inter , err := parseCheckAndPrepareWithOptionsWithoutStorageComparison (
1361913632 t ,
1362013633 `
@@ -13703,6 +13716,8 @@ func TestInterpretVariableDeclarationSecondValueEvaluationOrder(t *testing.T) {
1370313716 interpreter .Declare (baseActivation , getKey1Function )
1370413717 interpreter .Declare (baseActivation , getKey2Function )
1370513718
13719+ // Uses a standard library with a closure.
13720+ // Using it in the interpreter make it count twice.
1370613721 inter , err := parseCheckAndPrepareWithOptionsWithoutStorageComparison (
1370713722 t ,
1370813723 `
@@ -13781,6 +13796,8 @@ func TestInterpretVariableDeclarationSecondValueEvaluationOrder(t *testing.T) {
1378113796 baseActivation := activations .NewActivation (nil , interpreter .BaseActivation )
1378213797 interpreter .Declare (baseActivation , getKeyFunction )
1378313798
13799+ // Uses a standard library with a closure.
13800+ // Using it in the interpreter make it count twice.
1378413801 inter , err := parseCheckAndPrepareWithOptionsWithoutStorageComparison (
1378513802 t ,
1378613803 `
0 commit comments