We can't be modifying this except to update from upstream.
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
| ... | ... |
@@ -96,8 +96,8 @@ func TestRouteMatchers(t *testing.T) {
|
| 96 | 96 |
method = "GET" |
| 97 | 97 |
headers = map[string]string{"X-Requested-With": "XMLHttpRequest"}
|
| 98 | 98 |
resultVars = map[bool]map[string]string{
|
| 99 |
- true: {"var1": "www", "var2": "product", "var3": "42"},
|
|
| 100 |
- false: {},
|
|
| 99 |
+ true: map[string]string{"var1": "www", "var2": "product", "var3": "42"},
|
|
| 100 |
+ false: map[string]string{},
|
|
| 101 | 101 |
} |
| 102 | 102 |
} |
| 103 | 103 |
|
| ... | ... |
@@ -110,8 +110,8 @@ func TestRouteMatchers(t *testing.T) {
|
| 110 | 110 |
method = "POST" |
| 111 | 111 |
headers = map[string]string{"Content-Type": "application/json"}
|
| 112 | 112 |
resultVars = map[bool]map[string]string{
|
| 113 |
- true: {"var4": "google", "var5": "product", "var6": "42"},
|
|
| 114 |
- false: {},
|
|
| 113 |
+ true: map[string]string{"var4": "google", "var5": "product", "var6": "42"},
|
|
| 114 |
+ false: map[string]string{},
|
|
| 115 | 115 |
} |
| 116 | 116 |
} |
| 117 | 117 |
|