Skip to content

Commit

Permalink
t/*: Add sortInjection{} attr needed by newer versions of kore-exec
Browse files Browse the repository at this point in the history
  • Loading branch information
nishantjr committed Jul 3, 2019
1 parent e23bf99 commit f1006cf
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion t/foobar/expected.ekore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endmodule [ ]

module C-INJ
axiom { S1 , S2 , S3 , R } \equals { S3 , R } ( inj { S2 , S3 } ( inj { S1 , S2 } ( T : S1 ) ) , inj { S1 , S3 } ( T : S1 ) ) [ ]
symbol inj { From , To } ( From ) : To [ ]
symbol inj { From , To } ( From ) : To [ sortInjection{}() ]
endmodule [ ]

module D-K
Expand Down
2 changes: 1 addition & 1 deletion t/foobar/foobar.ekore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module B-KSEQ
endmodule [ ]

module C-INJ
symbol inj{From,To}(From) : To []
symbol inj{From,To}(From) : To [ sortInjection{}() ]

axiom{S1,S2,S3,R}
\equals{S3,R}(
Expand Down
2 changes: 1 addition & 1 deletion t/imp-simple/expected.ekore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ endmodule [ ]
module C-INJ

axiom { S1 , S2 , S3 , R } \equals { S3 , R } ( inj { S2 , S3 } ( inj { S1 , S2 } ( T : S1 ) ) , inj { S1 , S3 } ( T : S1 ) ) [ ]
symbol inj { From , To } ( From ) : To [ ]
symbol inj { From , To } ( From ) : To [ sortInjection{}() ]

endmodule [ ]

Expand Down
2 changes: 1 addition & 1 deletion t/imp-simple/imp-simple.ekore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module B-KSEQ
endmodule [ ]

module C-INJ
symbol inj{From,To}(From) : To []
symbol inj{From,To}(From) : To [ sortInjection{}() ]

axiom{S1,S2,S3,R}
\equals{S3,R}(
Expand Down
2 changes: 1 addition & 1 deletion t/peano/expected.ekore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endmodule [ ]

module C-INJ
axiom { S1 , S2 , S3 , R } \equals { S3 , R } ( inj { S2 , S3 } ( inj { S1 , S2 } ( T : S1 ) ) , inj { S1 , S3 } ( T : S1 ) ) [ ]
symbol inj { From , To } ( From ) : To [ ]
symbol inj { From , To } ( From ) : To [ sortInjection{}() ]
endmodule [ ]

module D-K
Expand Down
2 changes: 1 addition & 1 deletion t/peano/peano.ekore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module B-KSEQ
endmodule [ ]

module C-INJ
symbol inj{From,To}(From) : To []
symbol inj{From,To}(From) : To [ sortInjection{}() ]
axiom{S1,S2,S3,R} \equals{S3,R}( inj{S2,S3}(inj{S1,S2}(T:S1)), inj{S1,S3}(T:S1)) []
endmodule [ ]

Expand Down

0 comments on commit f1006cf

Please sign in to comment.