test: cover lowercase TYPE OF syntax

This commit is contained in:
Hermes Agent
2026-09-20 04:34:21 +00:00
parent 1a2de275d1
commit bdc56d4aa1
5 changed files with 11 additions and 0 deletions
@@ -101,6 +101,12 @@ class ValidateTypecheckDiagnosticsTests(unittest.TestCase):
MODULE.EXPECTED,
)
def test_includes_lowercase_type_of_success_fixture(self):
self.assertIn(
"tests/typecheck_lowercase_type_of_good.claro",
MODULE.EXPECTED_OK,
)
def test_includes_lowercase_compatibility_return_success_fixture(self):
self.assertIn(
"tests/typecheck_function_lowercase_return_good.claro",
@@ -0,0 +1,2 @@
set score number 10
type of score as kind