Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/scrutiny/src/commit/ee3d719c3adb44a05f5bcc58549e31d4dbde3505/collector/pkg/detect/devices_linux_test.go You should set ROOT_URL correctly, otherwise the web may not work correctly.
scrutiny/collector/pkg/detect/devices_linux_test.go

17 lines
254 B

package detect_test
import (
"github.com/analogj/scrutiny/collector/pkg/detect"
"github.com/stretchr/testify/require"
"testing"
)
func TestDevicePrefix(t *testing.T) {
//setup
//test
//assert
require.Equal(t, "/dev/", detect.DevicePrefix())
}