Skip to content

Commit

Permalink
Fix logger message in testBencodeInt function
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed Aug 24, 2023
1 parent 8575171 commit f48ac8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/stage_bencode_int.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func testBencodeInt(stageHarness *tester_utils.StageHarness) error {

randomNumber := fmt.Sprintf("%d", rand.Intn(2147483647))
randomNumberEncoded := fmt.Sprintf("i%se", randomNumber)
logger.Infod("Running ./your_bittorrent.sh decode %s", randomNumberEncoded)
logger.Infof("Running ./your_bittorrent.sh decode %s", randomNumberEncoded)
result, err := executable.Run("decode", randomNumberEncoded)
if err != nil {
return err
Expand Down

0 comments on commit f48ac8c

Please sign in to comment.