Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
number571 committed Nov 4, 2024
1 parent 16fae70 commit 4b102c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ package handler

import (
"context"
"fmt"
"net/http"
"strings"
"testing"
"time"

"github.com/number571/hidden-lake/internal/applications/remoter/pkg/client"
"github.com/number571/hidden-lake/internal/applications/remoter/pkg/settings"
hlr_settings "github.com/number571/hidden-lake/internal/applications/remoter/pkg/settings"
hls_client "github.com/number571/hidden-lake/internal/service/pkg/client"
testutils "github.com/number571/hidden-lake/test/utils"
)
Expand Down Expand Up @@ -45,7 +46,11 @@ func TestIncomingExecHTTP(t *testing.T) {
)

msg := "hello, world!"
rsp, err := hlrClient.Exec(ctx, "test_recv", "echo"+settings.CExecSeparator+msg)
rsp, err := hlrClient.Exec(
ctx,
"test_recv",
fmt.Sprintf("echo%s%s", hlr_settings.CExecSeparator, msg),
)
if err != nil {
t.Error(err)
return
Expand Down
2 changes: 1 addition & 1 deletion test/result/badge_codelines.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4b102c8

Please sign in to comment.