typecheck: clarify missing expected type
This commit is contained in:
@@ -71,6 +71,12 @@ class ValidateTypecheckDiagnosticsTests(unittest.TestCase):
|
||||
MODULE.EXPECTED,
|
||||
)
|
||||
|
||||
def test_includes_missing_expected_check_type_fixture(self):
|
||||
self.assertIn(
|
||||
"tests/typecheck_missing_expected_type_bad.claro",
|
||||
MODULE.EXPECTED,
|
||||
)
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user