Skip to content
Snippets Groups Projects
Commit 4f82f462 authored by Ralf Jung's avatar Ralf Jung
Browse files

ref tests: be less sensitive to trailing spaces

parent 5b7d0bf6
No related branches found
No related tags found
No related merge requests found
...@@ -4,3 +4,5 @@ s/subgoal/goal/g ...@@ -4,3 +4,5 @@ s/subgoal/goal/g
/[0-9]* focused goals\?$/{N;s/\n */ /;} /[0-9]* focused goals\?$/{N;s/\n */ /;}
# locations in Fail added in https://github.com/coq/coq/pull/15174 # locations in Fail added in https://github.com/coq/coq/pull/15174
/^File/d /^File/d
# extra space removed in https://github.com/coq/coq/pull/16130
s/= $/=/
test_2 = {[10 := {[10 := 1]}; 20 := {[20 := 2]}]} test_2 = {[10 := {[10 := 1]}; 20 := {[20 := 2]}]}
: M (M nat) : M (M nat)
test_3 = test_3 =
{[10 := {[10 := 1]}; 20 := {[20 := 2]}; 30 := {[30 := 3]}]} {[10 := {[10 := 1]}; 20 := {[20 := 2]}; 30 := {[30 := 3]}]}
: M (M nat) : M (M nat)
test_4 = test_4 =
{[10 := {[10 := 1]}; 20 := {[20 := 2]}; 30 := {[30 := 3]}; 40 := {[40 := 4]}]} {[10 := {[10 := 1]}; 20 := {[20 := 2]}; 30 := {[30 := 3]}; 40 := {[40 := 4]}]}
: M (M nat) : M (M nat)
test_op_2 = test_op_2 =
{[10 := {[10 ^ 2 := 99]}; 10 + 1 := {[10 - 100 := 42 * 1337]}]} {[10 := {[10 ^ 2 := 99]}; 10 + 1 := {[10 - 100 := 42 * 1337]}]}
: M (M nat) : M (M nat)
test_op_3 = test_op_3 =
{[10 := {[20 - 2 := [11]; 1 := [22]]}; {[10 := {[20 - 2 := [11]; 1 := [22]]};
20 := {[99 + length [1] := [1; 2; 3]]}; 20 := {[99 + length [1] := [1; 2; 3]]};
4 := {[4 := [4]]}; 4 := {[4 := [4]]};
5 := {[5 := [5]]}]} 5 := {[5 := [5]]}]}
: M (M (list nat)) : M (M (list nat))
test_op_4 = test_op_4 =
{[10 := {[20 - 2 := [11]; {[10 := {[20 - 2 := [11];
1 := [22]; 1 := [22];
3 := [23]; 3 := [23];
...@@ -30,6 +30,6 @@ test_gmultiset_2 = {[+ 10; 11 +]} ...@@ -30,6 +30,6 @@ test_gmultiset_2 = {[+ 10; 11 +]}
: gmultiset nat : gmultiset nat
test_gmultiset_3 = {[+ 10; 11; 2 - 2 +]} test_gmultiset_3 = {[+ 10; 11; 2 - 2 +]}
: gmultiset nat : gmultiset nat
test_gmultiset_4 = test_gmultiset_4 =
{[+ {[+ 10 +]}; ∅; {[+ 2 - 2; 10 +]} +]} {[+ {[+ 10 +]}; ∅; {[+ 2 - 2; 10 +]} +]}
: gmultiset (gmultiset nat) : gmultiset (gmultiset nat)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment