We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a3a6a3 commit 40cd7d4Copy full SHA for 40cd7d4
pkg/apis/nfd/nodefeaturerule/rule_test.go
@@ -64,7 +64,7 @@ func TestRule(t *testing.T) {
64
m, err = Execute(r1, f, true)
65
assert.Nilf(t, err, "unexpected error: %v", err)
66
assert.Equal(t, r1.Labels, m.Labels, "empty matcher should have matched empty features")
67
- assert.Empty(t, r1.Vars, "vars should be empty")
+ assert.Empty(t, m.Vars, "vars should be empty")
68
69
m, err = Execute(r2, f, true)
70
assert.NoError(t, err, "matching against a missing feature should not have returned an error")
0 commit comments