We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 913de5f commit c3ce05aCopy full SHA for c3ce05a
tools/download_test.go
@@ -13,6 +13,7 @@ func Test_findBaseDir(t *testing.T) {
13
{[]string{"bin/bossac"}, "bin/"},
14
{[]string{"bin/", "bin/bossac"}, "bin/"},
15
{[]string{"bin/", "bin/bossac", "example"}, ""},
16
+ {[]string{"avrdude/bin/avrdude", "avrdude/etc/avrdude.conf"}, "avrdude"},
17
}
18
for _, tt := range cases {
19
t.Run(fmt.Sprintln(tt.dirList), func(t *testing.T) {
0 commit comments