Skip to content

Commit e9489d1

Browse files
authored
Use keyword claim in integration tests (#2280)
1 parent e57bc68 commit e9489d1

File tree

93 files changed

+111
-111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+111
-111
lines changed

test/all-path/00-basic/00-no-rules/distinct-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ module DISTINCT-SPEC
88
imports PATH
99

1010
// should not be provable, as there is no axiom
11-
rule <k> a => b </k> [all-path]
11+
claim <k> a => b </k> [all-path]
1212

1313
endmodule

test/all-path/00-basic/00-no-rules/identity-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ module IDENTITY-SPEC
77
imports VERIFICATION
88
imports PATH
99

10-
rule <k> a => a </k> [all-path]
10+
claim <k> a => a </k> [all-path]
1111

1212
endmodule

test/all-path/00-basic/01-one-rule/all-path-b-or-c-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ module ALL-PATH-B-OR-C-SPEC
77
import PATH
88

99
// This should be provable as transiting to b suffices
10-
rule <k> a => b #Or c </k> [all-path]
10+
claim <k> a => b #Or c </k> [all-path]
1111

1212
endmodule

test/all-path/00-basic/01-one-rule/all-path-b-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ module ALL-PATH-B-SPEC
77
imports PATH
88

99
// This should be provable as there is only one axiom.
10-
rule <k> a => b </k> [all-path]
10+
claim <k> a => b </k> [all-path]
1111

1212
endmodule

test/all-path/00-basic/01-one-rule/all-path-c-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ module ALL-PATH-C-SPEC
88
imports PATH
99

1010
// This should not be provable as the only axiom is a => b.
11-
rule <k> a => c </k> [all-path]
11+
claim <k> a => c </k> [all-path]
1212

1313
endmodule

test/all-path/00-basic/02-cyclic-rule/all-path-b-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ module ALL-PATH-B-SPEC
88
imports PATH
99

1010
// Everything is provable if I can reach a cycling rule
11-
rule <k> a => b </k> [all-path]
11+
claim <k> a => b </k> [all-path]
1212

1313
endmodule

test/all-path/00-basic/02-cyclic-rule/all-path-c-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ module ALL-PATH-C-SPEC
88
imports PATH
99

1010
// Everything is provable if I can reach a cycling rule
11-
rule <k> a => c </k> [all-path]
11+
claim <k> a => c </k> [all-path]
1212

1313
endmodule

test/all-path/00-basic/03-concurrent-rules/all-path-b-or-c-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ module ALL-PATH-B-OR-C-SPEC
88
imports PATH
99

1010
// This should be provable as both one-path and all-path.
11-
rule <k> a => b #Or c </k> [all-path]
11+
claim <k> a => b #Or c </k> [all-path]
1212

1313
endmodule

test/all-path/00-basic/03-concurrent-rules/all-path-b-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ module ALL-PATH-B-SPEC
99

1010
// This should be provable as an one-path claim, but should not be provable as an
1111
//all-path claim.
12-
rule <k> a => c </k> [all-path]
12+
claim <k> a => c </k> [all-path]
1313

1414
endmodule

test/all-path/00-basic/03-concurrent-rules/one-path-b-spec.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ module ONE-PATH-B-SPEC
99

1010
// This should be provable as an one-path claim, but should not be provable as an
1111
//all-path claim.
12-
rule <k> a => c </k> [one-path]
12+
claim <k> a => c </k> [one-path]
1313

1414
endmodule

0 commit comments

Comments
 (0)