2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-12-25 23:32:17 +08:00

Critical fix

This commit is contained in:
Ken Hibino 2019-12-26 21:40:04 -08:00
parent 5b98b8eb62
commit aaa813dfdc

View File

@ -9,7 +9,7 @@ import (
) )
func TestPayloadGet(t *testing.T) { func TestPayloadGet(t *testing.T) {
names := []string{"luke", "anakin", "ray"} names := []string{"luke", "anakin", "rey"}
primes := []int{2, 3, 5, 7, 11, 13, 17} primes := []int{2, 3, 5, 7, 11, 13, 17}
user := map[string]interface{}{"name": "Ken", "score": 3.14} user := map[string]interface{}{"name": "Ken", "score": 3.14}
location := map[string]string{"address": "123 Main St.", "state": "NY", "zipcode": "10002"} location := map[string]string{"address": "123 Main St.", "state": "NY", "zipcode": "10002"}
@ -126,7 +126,7 @@ func TestPayloadGet(t *testing.T) {
} }
func TestPayloadGetWithMarshaling(t *testing.T) { func TestPayloadGetWithMarshaling(t *testing.T) {
names := []string{"luke", "anakin", "ray"} names := []string{"luke", "anakin", "rey"}
primes := []int{2, 3, 5, 7, 11, 13, 17} primes := []int{2, 3, 5, 7, 11, 13, 17}
user := map[string]interface{}{"name": "Ken", "score": 3.14} user := map[string]interface{}{"name": "Ken", "score": 3.14}
location := map[string]string{"address": "123 Main St.", "state": "NY", "zipcode": "10002"} location := map[string]string{"address": "123 Main St.", "state": "NY", "zipcode": "10002"}