From f9063d7e803d74cb25e0204d00a2393af918c5cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ron=20Nosz=C3=A1ly?= Date: Wed, 10 Apr 2024 18:56:22 +0200 Subject: [PATCH] Fix failing test. --- pkg/language/langs/cpp/cpp_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/language/langs/cpp/cpp_test.go b/pkg/language/langs/cpp/cpp_test.go index e2762da7..a053e4ed 100644 --- a/pkg/language/langs/cpp/cpp_test.go +++ b/pkg/language/langs/cpp/cpp_test.go @@ -120,5 +120,5 @@ func TestCompileError(t *testing.T) { Source: io.NopCloser(bytes.NewBufferString(TestCodeCompileError)), }, io.Discard, nil) assert.Nil(t, file) - assert.Nil(t, err) + assert.NotNil(t, err) }