Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
HasGoVersion
1 parent ab255d7 commit 6ea9982Copy full SHA for 6ea9982
1 file changed
go/extractor/toolchain/toolchain_test.go
@@ -14,3 +14,9 @@ func TestParseGoVersion(t *testing.T) {
14
}
15
16
17
+
18
+func TestHasGoVersion(t *testing.T) {
19
+ if HasGoVersion("1.21") {
20
+ t.Error("Exepected HasGoVersion(\"1.21\" to be false, but got true)")
21
+ }
22
+}
0 commit comments