diff --git a/testutils/source.go b/testutils/source.go index 1b398e2..132ff90 100644 --- a/testutils/source.go +++ b/testutils/source.go @@ -169,7 +169,10 @@ package main import "strings" func main() { var buf strings.Builder - buf.WriteString("test string") + _, err := buf.WriteString("test string") + if err != nil { + panic(err) + } }`}, 0}} // SampleCodeG105 - bignum overflow