Skip to content

Commit ff91232

Browse files
committed
Remove YAML witness 0.1 format-version
1 parent f71786d commit ff91232

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/config/options.schema.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2790,7 +2790,6 @@
27902790
"description": "YAML witness format version",
27912791
"type": "string",
27922792
"enum": [
2793-
"0.1",
27942793
"2.0",
27952794
"2.1"
27962795
],

src/witness/yamlWitness.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ struct
4646
let location ~location:(loc: Cil.location) ~(location_function): Location.t =
4747
let file_hash =
4848
match GobConfig.get_string "witness.yaml.format-version" with
49-
| "0.1" -> Some (sha256_file loc.file)
50-
| "2.0" -> None
49+
| "2.0" -> None (* TODO: 2.1? *)
5150
| _ -> assert false
5251
in
5352
{

tests/regression/56-witness/70-apron-unassume-set-tokens.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- entry_type: invariant_set
22
metadata:
3-
format_version: "0.1"
3+
format_version: "2.0"
44
uuid: 0a72f7b3-7826-4f68-bc7b-25425e95946e
55
creation_time: 2022-07-26T09:11:03Z
66
producer:

0 commit comments

Comments
 (0)