<style>
div {
  font-family: Ahem;
  font-size: 20px;
  border-right: 1px solid green;
  line-height: 1;
}
</style>
<div style="width: 342px">PASS if there's</div>
<div style="width: 370px">gap between this</div>
<div style="width: 290px">text and the</div>
<div style="width: 370px">green border end</div>
