Page MenuHomePhabricator

Improve coverage of remarkup "<table>" rule and fix some bad method calls
ClosedPublic

Authored by epriestley on Jul 8 2019, 11:55 PM.
Tags
None
Referenced Files
F14950650: D20644.id.diff
Sat, Feb 15, 10:45 PM
Unknown Object (File)
Mon, Feb 10, 4:02 AM
Unknown Object (File)
Mon, Feb 10, 4:02 AM
Unknown Object (File)
Mon, Feb 10, 4:02 AM
Unknown Object (File)
Sun, Feb 2, 3:55 AM
Unknown Object (File)
Fri, Jan 31, 3:09 PM
Unknown Object (File)
Fri, Jan 31, 11:06 AM
Unknown Object (File)
Sat, Jan 25, 7:54 PM
Subscribers
None
Tokens
"Baby Tequila" token, awarded by amckinley.

Details

Summary

See PHI1334. The existing coverage for "<table>" in remarkup is all testing valid inputs, and we have some incorrect method call names when the input isn't valid.

Add coverage, then make it pass.

Test Plan

Added tests and made them pass. Rendered some questionable <table>-like tags in comment previews.

Diff Detail

Repository
rPHU libphutil
Branch
remark1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23117
Build 31740: Run Core Tests
Build 31739: arc lint + arc unit

Event Timeline

I'm going to fast-track this to production since the fatal in PHI1334 is particularly unlucky (repository landing page) and I'm pretty confident the change doesn't make anything worse.