forked from security/hakurei
internal/app/dispatcher: report correct field
This was mistakenly reporting sharePath on inequivalence causing very confusing output. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -99,7 +99,7 @@ func sysUsesInstance(next extraCheckSysFunc) extraCheckSysFunc {
|
||||
func sysUsesRuntime(next extraCheckSysFunc) extraCheckSysFunc {
|
||||
return func(t *testing.T, state *outcomeStateSys) {
|
||||
if want := m(wantRuntimeSharePath); !reflect.DeepEqual(state.runtimeSharePath, want) {
|
||||
t.Errorf("outcomeStateSys: runtimeSharePath = %v, want %v", state.sharePath, want)
|
||||
t.Errorf("outcomeStateSys: runtimeSharePath = %v, want %v", state.runtimeSharePath, want)
|
||||
}
|
||||
|
||||
if next != nil {
|
||||
|
||||
Reference in New Issue
Block a user