File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ def rest_vector_variants_matrix
4141 rest_vectors . map ( &:variants )
4242 end
4343
44+ def exclusions
45+ YAML [ "exclude" ]
46+ end
47+
4448 end
4549 end
4650 end
Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ def setup
2121 { "key" => "7.0" }
2222 ]
2323 }
24- }
24+ } ,
25+ "exclude" => [
26+ { "ruby" => "3.0" , "active_model" => "7.0" } ,
27+ { "ruby" => "3.1" , "active_model" => "6.1" }
28+ ]
2529 } )
2630 end
2731
@@ -70,4 +74,12 @@ def test_rest_vector_variants_matrix
7074 assert_equal "7.0" , variants_matrix [ 0 ] [ 1 ] . key
7175 end
7276
77+ def test_exclusions
78+ exclusions = [
79+ { "ruby" => "3.0" , "active_model" => "7.0" } ,
80+ { "ruby" => "3.1" , "active_model" => "6.1" }
81+ ]
82+ assert_equal exclusions , Matrixeval ::Ruby ::Config . exclusions
83+ end
84+
7385end
You can’t perform that action at this time.
0 commit comments