fix(internal/platform): support freebsd (#445)
See https://github.com/ooni/probe/issues/1696
This commit is contained in:
parent
c3bec9de2a
commit
2e5b4f13dd
2 changed files with 8 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ import (
|
|||
func TestGood(t *testing.T) {
|
||||
var expected bool
|
||||
switch Name() {
|
||||
case "android", "ios", "linux", "macos", "windows":
|
||||
case "android", "freebsd", "ios", "linux", "macos", "windows":
|
||||
expected = true
|
||||
}
|
||||
if !expected {
|
||||
|
|
@ -23,6 +23,9 @@ func TestName(t *testing.T) {
|
|||
}{{
|
||||
expected: "android",
|
||||
goos: "android",
|
||||
}, {
|
||||
expected: "freebsd",
|
||||
goos: "freebsd",
|
||||
}, {
|
||||
expected: "ios",
|
||||
goos: "ios",
|
||||
|
|
|
|||
Loading…
Reference in a new issue