Skip to content

Commit 93ae1a8

Browse files
committed
test: update snapshots
1 parent fa19626 commit 93ae1a8

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

tests/snapshots/contract1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"hash": "184105753039686079962266322442922933558",
3+
"hash": "1333061076946858250810580638840992453503",
44
"def_id": "DefId { id: 13, name: \"verify::f\" }",
55
"file": "tests/compare/contract.rs",
66
"attrs": [
@@ -1220,7 +1220,7 @@
12201220
},
12211221
{
12221222
"def_id": "DefId { id: 14, name: \"kani::panic\" }",
1223-
"file": "/home/zjp/rust/kani/library/kani_core/src/lib.rs",
1223+
"file": "/home/zjp/rust/distributed-verification/kani/library/kani_core/src/lib.rs",
12241224
"func": "pub const fn panic(message: &'static str) -> ! {\n panic!(\"{}\", message)\n }"
12251225
},
12261226
{

tests/snapshots/contract2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"hash": "184105753039686079962266322442922933558",
3+
"hash": "1333061076946858250810580638840992453503",
44
"def_id": "DefId { id: 13, name: \"verify::f\" }",
55
"file": "tests/compare/contract.rs",
66
"attrs": [
@@ -1220,7 +1220,7 @@
12201220
},
12211221
{
12221222
"def_id": "DefId { id: 27, name: \"kani::panic\" }",
1223-
"file": "/home/zjp/rust/kani/library/kani_core/src/lib.rs",
1223+
"file": "/home/zjp/rust/distributed-verification/kani/library/kani_core/src/lib.rs",
12241224
"func": "pub const fn panic(message: &'static str) -> ! {\n panic!(\"{}\", message)\n }"
12251225
},
12261226
{

tests/snapshots/proof1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"hash": "575801690269439979516926484838947128219",
3+
"hash": "1080390447388388208111011526646376797302",
44
"def_id": "DefId { id: 0, name: \"verify::f\" }",
55
"file": "tests/compare/proof.rs",
66
"attrs": [
@@ -10,7 +10,7 @@
1010
"callees": [
1111
{
1212
"def_id": "DefId { id: 1, name: \"kani::assert\" }",
13-
"file": "/home/zjp/rust/kani/library/kani_core/src/lib.rs",
13+
"file": "/home/zjp/rust/distributed-verification/kani/library/kani_core/src/lib.rs",
1414
"func": "pub const fn assert(cond: bool, msg: &'static str) {\n let _ = cond;\n let _ = msg;\n }"
1515
}
1616
]

tests/snapshots/proof2.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"hash": "575801690269439979516926484838947128219",
3+
"hash": "1080390447388388208111011526646376797302",
44
"def_id": "DefId { id: 0, name: \"verify::f\" }",
55
"file": "tests/compare/proof.rs",
66
"attrs": [
@@ -10,13 +10,13 @@
1010
"callees": [
1111
{
1212
"def_id": "DefId { id: 2, name: \"kani::assert\" }",
13-
"file": "/home/zjp/rust/kani/library/kani_core/src/lib.rs",
13+
"file": "/home/zjp/rust/distributed-verification/kani/library/kani_core/src/lib.rs",
1414
"func": "pub const fn assert(cond: bool, msg: &'static str) {\n let _ = cond;\n let _ = msg;\n }"
1515
}
1616
]
1717
},
1818
{
19-
"hash": "288546599094382361312687918975298218807",
19+
"hash": "111100297692849598313316231646472092130",
2020
"def_id": "DefId { id: 1, name: \"verify::g\" }",
2121
"file": "tests/compare/proof.rs",
2222
"attrs": [
@@ -26,7 +26,7 @@
2626
"callees": [
2727
{
2828
"def_id": "DefId { id: 2, name: \"kani::assert\" }",
29-
"file": "/home/zjp/rust/kani/library/kani_core/src/lib.rs",
29+
"file": "/home/zjp/rust/distributed-verification/kani/library/kani_core/src/lib.rs",
3030
"func": "pub const fn assert(cond: bool, msg: &'static str) {\n let _ = cond;\n let _ = msg;\n }"
3131
}
3232
]

tests/snapshots/standard_proofs.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"callees": []
1111
},
1212
{
13-
"hash": "154269283551974763216917429380903124467",
13+
"hash": "598200882196848966016444482128164260930",
1414
"def_id": "DefId { id: 0, name: \"verify::standard_proof\" }",
1515
"file": "tests/proofs/standard_proofs.rs",
1616
"attrs": [
@@ -20,32 +20,32 @@
2020
"callees": [
2121
{
2222
"def_id": "DefId { id: 8, name: \"<u8 as kani::Arbitrary>::any\" }",
23-
"file": "/home/zjp/rust/kani/library/kani_core/src/arbitrary.rs",
23+
"file": "/home/zjp/rust/distributed-verification/kani/library/kani_core/src/arbitrary.rs",
2424
"func": "fn any() -> Self {\n // This size_of call does not use generic_const_exprs feature. It's inside a macro, and Self isn't generic.\n unsafe { crate::kani::any_raw_internal::<Self>() }\n }"
2525
},
2626
{
2727
"def_id": "DefId { id: 10, name: \"kani::any_raw\" }",
28-
"file": "/home/zjp/rust/kani/library/kani_core/src/lib.rs",
28+
"file": "/home/zjp/rust/distributed-verification/kani/library/kani_core/src/lib.rs",
2929
"func": "fn any_raw<T: Copy>() -> T {\n kani_intrinsic()\n }"
3030
},
3131
{
3232
"def_id": "DefId { id: 11, name: \"kani::kani_intrinsic\" }",
33-
"file": "/home/zjp/rust/kani/library/kani_core/src/lib.rs",
33+
"file": "/home/zjp/rust/distributed-verification/kani/library/kani_core/src/lib.rs",
3434
"func": "fn kani_intrinsic<T>() -> T {\n #[allow(clippy::empty_loop)]\n loop {}\n }"
3535
},
3636
{
3737
"def_id": "DefId { id: 6, name: \"kani::assert\" }",
38-
"file": "/home/zjp/rust/kani/library/kani_core/src/lib.rs",
38+
"file": "/home/zjp/rust/distributed-verification/kani/library/kani_core/src/lib.rs",
3939
"func": "pub const fn assert(cond: bool, msg: &'static str) {\n let _ = cond;\n let _ = msg;\n }"
4040
},
4141
{
4242
"def_id": "DefId { id: 5, name: \"kani::any\" }",
43-
"file": "/home/zjp/rust/kani/library/kani_core/src/lib.rs",
43+
"file": "/home/zjp/rust/distributed-verification/kani/library/kani_core/src/lib.rs",
4444
"func": "pub fn any<T: Arbitrary>() -> T {\n T::any()\n }"
4545
},
4646
{
4747
"def_id": "DefId { id: 9, name: \"kani::any_raw_internal\" }",
48-
"file": "/home/zjp/rust/kani/library/kani_core/src/lib.rs",
48+
"file": "/home/zjp/rust/distributed-verification/kani/library/kani_core/src/lib.rs",
4949
"func": "unsafe fn any_raw_internal<T: Copy>() -> T {\n any_raw::<T>()\n }"
5050
}
5151
]

tests/snapshots/standard_proofs_with_contracts.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"hash": "638100731549357801415843699110435929671",
3+
"hash": "1025309838735755950413656814657831068918",
44
"def_id": "DefId { id: 13, name: \"verify::standard_proof_with_contract_requires\" }",
55
"file": "tests/proofs/standard_proofs_with_contracts.rs",
66
"attrs": [
@@ -1220,7 +1220,7 @@
12201220
},
12211221
{
12221222
"def_id": "DefId { id: 33, name: \"kani::panic\" }",
1223-
"file": "/home/zjp/rust/kani/library/kani_core/src/lib.rs",
1223+
"file": "/home/zjp/rust/distributed-verification/kani/library/kani_core/src/lib.rs",
12241224
"func": "pub const fn panic(message: &'static str) -> ! {\n panic!(\"{}\", message)\n }"
12251225
},
12261226
{
@@ -1256,7 +1256,7 @@
12561256
]
12571257
},
12581258
{
1259-
"hash": "153447193349631547573109754293264803070",
1259+
"hash": "1317424779862856706714064197163667502053",
12601260
"def_id": "DefId { id: 32, name: \"verify::standard_proof_with_contract_ensures\" }",
12611261
"file": "tests/proofs/standard_proofs_with_contracts.rs",
12621262
"attrs": [
@@ -2476,7 +2476,7 @@
24762476
},
24772477
{
24782478
"def_id": "DefId { id: 33, name: \"kani::panic\" }",
2479-
"file": "/home/zjp/rust/kani/library/kani_core/src/lib.rs",
2479+
"file": "/home/zjp/rust/distributed-verification/kani/library/kani_core/src/lib.rs",
24802480
"func": "pub const fn panic(message: &'static str) -> ! {\n panic!(\"{}\", message)\n }"
24812481
},
24822482
{

0 commit comments

Comments
 (0)