Page MenuHomePhabricator

Add assertions to every test in libphutil/
ClosedPublic

Authored by epriestley on Mar 7 2014, 2:16 PM.
Tags
None
Referenced Files
F15392872: D8435.diff
Sat, Mar 15, 6:08 PM
Unknown Object (File)
Mon, Feb 24, 11:33 AM
Unknown Object (File)
Sun, Feb 23, 10:17 PM
Unknown Object (File)
Feb 14 2025, 10:51 PM
Unknown Object (File)
Feb 14 2025, 10:51 PM
Unknown Object (File)
Feb 8 2025, 6:25 AM
Unknown Object (File)
Feb 1 2025, 2:21 PM
Unknown Object (File)
Jan 29 2025, 6:10 AM
Subscribers

Details

Summary

Ref T4570. Add an assertion to all tests which pass by not exploding, so we can fail tests which make no assertions.

Test Plan

arc unit --everything with the test engine set to fail on no assertions.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 7 2014, 5:48 PM