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
test: add crash-reproduction tests for XRefHrefFixer.FixPackage
Three tests that crash before the fix is applied:
- Fix_PackageMethodWithNoParenthesesInName_DoesNotThrow:
name has no '(' so MethodNameRegex fails to match, methodName becomes "",
uid.IndexOf("") == 0, uid.Substring(0, -1) throws.
- Fix_PackageMethodNameAbsentFromUid_DoesNotThrow:
methodName is not found in uid, IndexOf returns -1,
uid.Substring(0, -2) throws.
- Fix_PackagePropertyNameAbsentFromUid_DoesNotThrow:
property name is not found in uid, IndexOf returns -1,
uid.Substring(0, -2) throws.
https://claude.ai/code/session_01WNaTJnpDwNjqyfL1uhYqJ4
0 commit comments