You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that checkCondition only sets slv and slmv (L106) if v and mv are of the same type (L85); therefore, the eventual call to ns.Intersect (L205) is made with two nil params.
The following new test cases fail in TestCheckCondition:
The issue is that
checkCondition
only setsslv
andslmv
(L106) ifv
andmv
are of the same type (L85); therefore, the eventual call tons.Intersect
(L205) is made with two nil params.See discussion thread for use case and rationale: https://discourse.gohugo.io/t/7435
Test site from @budparr: https://github.com/budparr/Test-Case-for-defining-relationships-across-sections/blob/master/layouts/index.html
The text was updated successfully, but these errors were encountered: