Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xunilrj committed Oct 11, 2023
1 parent fa82a18 commit a2da2cd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn main() -> bool {
assert(size_of::<u16>() == 8);
assert(size_of::<u8>() == 1);
assert(size_of::<b256>() == 32);
assert(size_of::<str[11]>() == 11);
assert(size_of::<str[11]>() == 16);
assert(size_of::<[u16; 3]>() == 24);
assert(size_of::<TestStruct>() == 16);

Expand All @@ -50,7 +50,7 @@ fn main() -> bool {
assert(size_of_val(c) == 8);
assert(size_of_val(d) == 1);
assert(size_of_val(e) == 32);
assert(size_of_val(f) == 11);
assert(size_of_val(f) == 16);

true
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
category = "run"
expected_result = { action = "return", value = 1 }
validate_abi = true
expected_warnings = 2
expected_warnings = 6
Original file line number Diff line number Diff line change
Expand Up @@ -1159,12 +1159,6 @@
"type": "u8",
"typeId": 26,
"typeParameters": null
},
{
"components": null,
"type": "u64",
"typeId": 9,
"typeParameters": null
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
"key": "6294951dcb0a9111a517be5cf4785670ff4e166fb5ab9c33b17e6881b48e964f",
"value": "6161610000000000000000000000000000000000000000000000000000000000"
},
{
"key": "71217a24656901c411894bb65eb78a828dafa5a6844488ef5024eb5ac0cff79c",
"value": "0000000000000000000000000000000000000000000000000000000001234567"
},
{
"key": "7f91d1a929dce734e7f930bbb279ccfccdb5474227502ea8845815c74bd930a7",
"value": "6161616161000000000000000000000000000000000000000000000000000000"
Expand All @@ -39,10 +35,6 @@
"key": "c5e69153be998bc6f957aeb6f8fd46a0e9c5bc2d3dff421a73e02f64a3012fbb",
"value": "6161616161616161000000000000000000000000000000000000000000000000"
},
{
"key": "c7e08cdde76020f08f4ce5c3257422ae67f9676992689b64b85f35aa58752d9e",
"value": "0000000000000000000000000000000000000000000000000000000001234567"
},
{
"key": "d02e07f5a716bd3b6670aaf9a73352164e6b946c24db14f72005b7029e67d96a",
"value": "6161616161616161616100000000000000000000000000000000000000000000"
Expand Down

0 comments on commit a2da2cd

Please sign in to comment.