fix: update test assertions to match tightened error messages

This commit is contained in:
alex-clawd
2026-05-19 16:38:32 -07:00
parent 74dff2da3d
commit 3790ad71cb

View File

@@ -46,11 +46,11 @@ class TestParseRegistryRef:
parse_registry_ref("@acme-skill")
def test_empty_org(self) -> None:
with pytest.raises(ValueError, match="non-empty org and name"):
with pytest.raises(ValueError, match="non-empty"):
parse_registry_ref("@/my-skill")
def test_empty_name(self) -> None:
with pytest.raises(ValueError, match="non-empty org and name"):
with pytest.raises(ValueError, match="non-empty"):
parse_registry_ref("@acme/")