Skip to content

add all information to error - #1

Open
pronix wants to merge 1 commit into
masterfrom
pronix-patch-1
Open

add all information to error#1
pronix wants to merge 1 commit into
masterfrom
pronix-patch-1

Conversation

@pronix

@pronix pronix commented Sep 12, 2016

Copy link
Copy Markdown

before patch error is

     (compared using ==)

     ✖  expected "" to match /Product created/
     Diff:
     @@ -1,2 +1,2 @@
     -/Product created/
     +""

     ✖  
     expected: 0
          got: 65

with patch

     (compared using ==)
       Command /usr/bin/testcommand --options exit_status should eq 0
     ✖  expected "" to match /Product created/
     Diff:
     @@ -1,2 +1,2 @@
     -/Product created/
     +""
       Command /usr/bin/testcommand --options
     ✖  
     expected: 0
          got: 65

before patch error is
```
     (compared using ==)
     
     ✖  expected "" to match /Product created/
     Diff:
     @@ -1,2 +1,2 @@
     -/Product created/
     +""
     
     ✖  
     expected: 0
          got: 65

```

with patch
```
     (compared using ==)
       Command /usr/bin/testcommand --options exit_status should eq 0
     ✖  expected "" to match /Product created/
     Diff:
     @@ -1,2 +1,2 @@
     -/Product created/
     +""
       Command /usr/bin/testcommand --options
     ✖  
     expected: 0
          got: 65
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant