test($compile): use `trim` helper