Skip to content

Commit 1b969d5

Browse files
committed
moved an assertion line
1 parent 6543abe commit 1b969d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cns/middlewares/k8sSwiftV2_windows_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,14 +160,14 @@ func TestAddDefaultDenyACL(t *testing.T) {
160160
}
161161

162162
allEndpoints = append(allEndpoints, defaultDenyEgressPolicy, defaultDenyIngressPolicy)
163-
assert.Equal(t, err, nil)
164163

165164
// Normalize both slices so there is no extra spacing, new lines, etc
166165
normalizedExpected := normalizeKVPairs(t, expectedDefaultDenyEndpoint)
167166
normalizedActual := normalizeKVPairs(t, allEndpoints)
168167
if !reflect.DeepEqual(normalizedExpected, normalizedActual) {
169168
t.Errorf("got '%+v', expected '%+v'", normalizedActual, normalizedExpected)
170169
}
170+
assert.Equal(t, err, nil)
171171
}
172172

173173
// normalizeKVPairs normalizes the JSON values in the KV pairs by unmarshaling them into a map, then marshaling them back to compact JSON to remove any extra space, new lines, etc

0 commit comments

Comments
 (0)