diff --git a/tests/test_bat025_portfolio_ledger_manual_metadata_migration.py b/tests/test_bat025_portfolio_ledger_manual_metadata_migration.py index 0c276ff..5ab4c55 100644 --- a/tests/test_bat025_portfolio_ledger_manual_metadata_migration.py +++ b/tests/test_bat025_portfolio_ledger_manual_metadata_migration.py @@ -344,7 +344,7 @@ def test_dividend_large_integer_with_8dp_is_rejected_to_protect_double_snapshot( repo = _repo(isolated_settings) portfolio_id = _seed_portfolio(repo, "double-snapshot-guard") - with pytest.raises(ValueError, match="double snapshot precision"): + with pytest.raises(ValueError, match="DOUBLE PRECISION snapshot"): repo.record_manual_ledger( portfolio_id, action="DIVIDEND",