Skip to content

Commit

Permalink
Update the expected output (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpoli authored Oct 9, 2023
1 parent 5987a2d commit dd19b51
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2018"

[dependencies]
prusti-contracts = "0.1"
prusti-contracts = "*"
92 changes: 68 additions & 24 deletions src/test/scenarios/shared/programs/failing_post.rs.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,78 @@
[
{
"message": "[Prusti: verification error] postcondition might not hold.",
"range": {
"end": {
"character": 35,
"line": 9
},
"start": {
"character": 10,
"line": 9
}
"filter": {
"prustiVersion": "Tag",
"prustiTag": "v-2023-08-22-1715"
},
"relatedInformation": [
"diagnostics": [
{
"location": {
"range": {
"end": {
"character": 20,
"line": 10
"message": "[Prusti: verification error] postcondition might not hold.",
"range": {
"end": {
"character": 35,
"line": 9
},
"start": {
"character": 10,
"line": 9
}
},
"relatedInformation": [
{
"location": {
"range": {
"end": {
"character": 20,
"line": 10
},
"start": {
"character": 0,
"line": 10
}
},
"uri": "programs/failing_post.rs"
},
"start": {
"character": 0,
"line": 10
}
"message": "the error originates here"
}
],
"severity": 0
}
]
},
{
"diagnostics": [
{
"message": "[Prusti: verification error] postcondition might not hold.",
"range": {
"end": {
"character": 35,
"line": 9
},
"uri": "programs/failing_post.rs"
"start": {
"character": 30,
"line": 9
}
},
"message": "the error originates here"
"relatedInformation": [
{
"location": {
"range": {
"end": {
"character": 20,
"line": 10
},
"start": {
"character": 0,
"line": 10
}
},
"uri": "programs/failing_post.rs"
},
"message": "the error originates here"
}
],
"severity": 0
}
],
"severity": 0
]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2018"

[dependencies]
prusti-contracts = "*"
prusti-contracts = "0.1"

0 comments on commit dd19b51

Please sign in to comment.