bkabrda/logging — comment on commit 73d8dfd3b3c58e66eb6b375aafa1748df0fd5de4
File: test/layouts/test_yaml.rb line 74
By TwP:

As mentioned above, just use a regular expression to check for optional trailing whitespace.

```ruby
assert_match %r/\A---\s?\nlogger: TestLogger\n/, @layout.format(event)
```