Package: golang-go Version: 2:1.27~1~bpo13+1 Severity: normal X-Debbugs-Cc: [email protected]
I am trying to learn about Go unit testing, and the example I am following tells me to use the "testing/require" package, but get the following error when running the example: > go test -v > # unit-testing > math_utils_test.go:6:2: package testing/require is not in std > (/usr/lib/go-1.27/src/testing/require) I asked Gwen3.5 and it tells me that since I am on Go 1.27, the package `testing/require` *must* exist since it's part of the standard library since 1.25. -- System Information: Debian Release: 13.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 7.3.4+deb13-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages golang-go depends on: ii golang-1.27-go 1.27.4-1~bpo13+1 ii golang-src 2:1.27~1~bpo13+1 golang-go recommends no packages. Versions of packages golang-go suggests: ii git 1:2.53.0-1~bpo13+1 -- no debconf information

