test: align postgres precision error assertion text

Co-authored-by: genichin <4282227+genichin@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-09-09 04:07:30 +00:00
committed by GitHub
co-authored by genichin
parent b74284e626
commit 6df3e4ba02
@@ -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",