Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module github.com/codecrafters-io/redis-tester

go 1.24
go 1.24.0

toolchain go1.24.2

require (
github.com/codecrafters-io/tester-utils v0.4.8
github.com/codecrafters-io/tester-utils v0.4.9
github.com/hdt3213/rdb v1.2.0
github.com/stretchr/testify v1.10.0
github.com/tidwall/pretty v1.2.1
Expand All @@ -19,7 +19,7 @@ require (
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/sys v0.35.0 // indirect
golang.org/x/sys v0.37.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)

Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ github.com/chenzhuoyu/base64x v0.0.0-20211019084208-fb5309c8db06/go.mod h1:DH46F
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311/go.mod h1:b583jCggY9gE99b6G5LEC39OIiVsWj+R97kbl5odCEk=
github.com/cloudwego/base64x v0.1.4/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJgA0rcu/8w=
github.com/cloudwego/iasm v0.2.0/go.mod h1:8rXZaNYT2n95jn+zTI1sDr+IgcD2GVs0nlbbQPiEFhY=
github.com/codecrafters-io/tester-utils v0.4.8 h1:+37SwsQ93ni+Tkz1/tNoDuqYbhvOS0nsbdeJrzRumpc=
github.com/codecrafters-io/tester-utils v0.4.8/go.mod h1:Fyrv4IebzjWtvKfpYf8ooYDoOtjYe2qx8bV7KAJpX+w=
github.com/codecrafters-io/tester-utils v0.4.9 h1:4J9ZdYB8A2vktofPK9ZlaaXOXP1dZD9zSv6cwDZ9srU=
github.com/codecrafters-io/tester-utils v0.4.9/go.mod h1:Fyrv4IebzjWtvKfpYf8ooYDoOtjYe2qx8bV7KAJpX+w=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down Expand Up @@ -43,8 +43,8 @@ golang.org/x/arch v0.9.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=
golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/sys v0.37.0 h1:fdNQudmxPjkdUTPnLn5mdQv7Zwvbvpaxqs831goi9kQ=
golang.org/x/sys v0.37.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
Expand Down
2 changes: 1 addition & 1 deletion internal/test_helpers/fixtures/bind/failure
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
[tester::#JM1] Connecting to port 6379...
[your_program] hey, not going to bind!
[tester::#JM1] Failed to connect to port 6379.
[tester::#JM1] Test failed (try setting 'debug: true' in your codecrafters.yml to see more details)
[tester::#JM1] Test failed
2 changes: 1 addition & 1 deletion internal/test_helpers/fixtures/bind/timeout
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
[tester::#JM1] Failed to connect to port 6379, retrying in 1s
[tester::#JM1] Failed to connect to port 6379, retrying in 1s
[tester::#JM1] timed out, test exceeded 15 seconds
[tester::#JM1] Test failed (try setting 'debug: true' in your codecrafters.yml to see more details)
[tester::#JM1] Test failed
2 changes: 1 addition & 1 deletion internal/test_helpers/fixtures/ping-pong/without_crlf
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
[tester::#RG2] Received: "+PONG"
[tester::#RG2]  ^ error
[tester::#RG2] Error: Expected \r\n at the end of a simple string
[tester::#RG2] Test failed (try setting 'debug: true' in your codecrafters.yml to see more details)
[tester::#RG2] Test failed
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
[your_program] Logs from your program will appear here!
[tester::#RG2] [client] $ redis-cli PING
[tester::#RG2] Found extra data: "+PONG\r\n+PONG\r\n"
[tester::#RG2] Test failed (try setting 'debug: true' in your codecrafters.yml to see more details)
[tester::#RG2] Test failed