Skip to content

Commit

Permalink
internal/cuetdtest: add DevOnlyMatrix
Browse files Browse the repository at this point in the history
I've been manually adding this regularly for
debugging. Adding this for convenience.

Signed-off-by: Marcel van Lohuizen <[email protected]>
Change-Id: Ie84aed865166177391d379573dd94bbba9018a5b
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1202231
Unity-Result: CUE porcuepine <[email protected]>
Reviewed-by: Matthew Sackman <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
  • Loading branch information
mpvl committed Oct 8, 2024
1 parent a37223b commit b44f5e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/cuetdtest/matrix.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ var SmallMatrix Matrix = FullMatrix[:2]

var DefaultOnlyMatrix Matrix = FullMatrix[:1]

var DevOnlyMatrix Matrix = FullMatrix[1:2]

// Run runs a subtest with the given name that
// invokes a further subtest for each configuration in the matrix.
func (m Matrix) Run(t *testing.T, name string, f func(t *testing.T, m *M)) {
Expand Down

0 comments on commit b44f5e0

Please sign in to comment.