With little time to spare, the House and Senate finally came to agreement on funding the Highway Trust Fund through May 2015 before adjourning for its August recess.

The two chambers batted the legislation back-and-forth several times last month. The Senate adopted two amendments to the House’s $10.8 billion...