Implement merge request comments.

This commit is contained in:
Maximilian Paß
2023-02-19 00:53:59 +00:00
committed by Sebastian Serth
parent cc0c425197
commit 4fb6ab980b
4 changed files with 78 additions and 45 deletions

View File

@ -2,6 +2,7 @@ package nomad
import (
"bytes"
"context"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"testing"
@ -9,7 +10,7 @@ import (
func TestSentryDebugWriter_Write(t *testing.T) {
buf := &bytes.Buffer{}
w := SentryDebugWriter{Target: buf}
w := SentryDebugWriter{Target: buf, Ctx: context.Background()}
description := "TestDebugMessageDescription"
data := "\x1EPoseidon " + description + " 1676646791482\x1E"