Update test for true output representation

This commit is contained in:
Daniel Bachhuber 2016-09-08 05:49:18 -07:00
parent 5953df52c2
commit 757b3bf38a

View file

@ -3,6 +3,8 @@ Feature: Profile a specific hook
Scenario: Profile a hook without any callbacks
Given a WP install
When I run `wp profile --hook=setup_theme`
Then STDOUT should be empty
When I run `wp profile --hook=setup_theme --fields=callback`
Then STDOUT should be a table containing rows:
| callback |
| total |
And STDERR should be empty