@davoodmehraban89 / Aram / commits / 3c50c3a
Fork 0

test(statements): use an actual newline control character in invalid-policy case

davoodmehraban89 committed Oct 31, 2026 at 00:37 UTC 3c50c3a24c5e5538c5bf32408e8377873c6fe74e
1 file changed +1 -1
backend/tests/test_balance_sheet_candidate.py
+1 -1
@@ -202,7 +202,7 @@ def test_invalid_policy_collection_is_rejected(invalid):
202 BalanceSheetLinePolicy("Assets", "A1", "", "ASSETS", 0, "Synthetic assets", "P"),
203 BalanceSheetLinePolicy("Assets", "A1", "", "OTHER", 1, "Synthetic assets", "P"),
204 BalanceSheetLinePolicy("Assets", "", "", "ASSETS", 1, "Synthetic assets", "P"),
205 - BalanceSheetLinePolicy("Assets", "A1", "", "ASSETS", 1, "Bad\\nLine", "P"),
205 + BalanceSheetLinePolicy("Assets", "A1", "", "ASSETS", 1, "Bad" + chr(10) + "Line", "P"),
206 BalanceSheetLinePolicy("Assets", "A1", "", "ASSETS", 1, " ", "P"),
207 BalanceSheetLinePolicy("Assets", "A1", "", "ASSETS", 1, "Synthetic assets", ""),
208 ])