Skip to content

Commit 1f739f6

Browse files
committed
fixup! Add GitVersion field to NewIntegrationTestArgs
1 parent f10aa61 commit 1f739f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/integration/components/test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ type GitVersionRestriction struct {
5959
includes []string
6060
}
6161

62+
// Verifies the version is at least the given version (inclusive)
6263
func From(version string) GitVersionRestriction {
6364
return GitVersionRestriction{from: version}
6465
}
6566

67+
// Verifies the version is before the given version (exclusive)
6668
func Before(version string) GitVersionRestriction {
6769
return GitVersionRestriction{before: version}
6870
}

0 commit comments

Comments
 (0)