Skip to content

Commit 14ae979

Browse files
committed
Remove local-only validator regression test
1 parent 45071c8 commit 14ae979

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tests/test_validator.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,6 @@ def test_comment_does_not_trigger_function_error(self) -> None:
6060
diagnostics = self.validator.validate_text("x = 1 // no reclaim (close sweep)")
6161
self.assertFalse(any("Undefined function 'reclaim'" in diagnostic.message for diagnostic in diagnostics))
6262

63-
def test_real_mother_candle_script_has_no_errors(self) -> None:
64-
project_root = Path(__file__).resolve().parents[2]
65-
script_path = project_root / "Backtests" / "MotherCandle.pine"
66-
diagnostics = self.validator.validate_file(script_path)
67-
error_messages = [diagnostic.message for diagnostic in diagnostics if diagnostic.severity == Severity.ERROR]
68-
self.assertEqual(error_messages, [])
69-
7063
def test_generic_function_call_and_dotted_array_type(self) -> None:
7164
code = "var chart.point[] _points = array.new<chart.point>()"
7265
diagnostics = self.validator.validate_text(code)

0 commit comments

Comments
 (0)