test: cover lowercase CHECK TYPE syntax

This commit is contained in:
Hermes Agent
2026-09-20 06:37:37 +00:00
parent bdc56d4aa1
commit 40145e5c74
5 changed files with 11 additions and 0 deletions
@@ -107,6 +107,12 @@ class ValidateTypecheckDiagnosticsTests(unittest.TestCase):
MODULE.EXPECTED_OK,
)
def test_includes_lowercase_check_type_success_fixture(self):
self.assertIn(
"tests/typecheck_lowercase_check_type_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
check type score is number