Skip to content

Commit

Permalink
Documentation: Adapted the output to the current state of feature/v10…
Browse files Browse the repository at this point in the history
… in Unexpected.
  • Loading branch information
papandreou committed Oct 8, 2015
1 parent 4fb7f96 commit e495ca9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion documentation/assertions/Stream/when-piped-through.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ return expect(

```output
expected ReadStream
when piped through [ Gzip, Gunzip ] to yield output satisfying when decoded as 'ascii', 'not to contain', 'IMPLIED WARRANTIES'
when piped through [ Gzip, Gunzip ] to yield output satisfying when decoded as 'ascii' not to contain 'IMPLIED WARRANTIES'
expected Gunzip
to yield output satisfying 'when decoded as', 'ascii', 'not to contain', 'IMPLIED WARRANTIES'
expected Buffer([0x43, 0x6F, 0x70, 0x79, 0x72, 0x69, 0x67, 0x68, 0x74, 0x20, 0x28, 0x63, 0x29, 0x20, 0x32, 0x30 /* 1478 more */ ])
Expand Down
2 changes: 1 addition & 1 deletion documentation/assertions/string/when-piped-through.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ return expect(

```output
expected 'How about that'
when piped through [ Gzip, Gunzip ] to yield output satisfying when decoded as 'utf-8', 'not to contain', 'about'
when piped through [ Gzip, Gunzip ] to yield output satisfying when decoded as 'utf-8' not to contain 'about'
expected Gunzip
to yield output satisfying 'when decoded as', 'utf-8', 'not to contain', 'about'
expected Buffer([0x48, 0x6F, 0x77, 0x20, 0x61, 0x62, 0x6F, 0x75, 0x74, 0x20, 0x74, 0x68, 0x61, 0x74])
Expand Down
4 changes: 2 additions & 2 deletions test/documentation.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ describe("documentation tests", function () {
}).caught(function (e) {
expect(e, "to have message",
"expected ReadStream\n" +
"when piped through [ Gzip, Gunzip ] to yield output satisfying when decoded as 'ascii', 'not to contain', 'IMPLIED WARRANTIES'\n" +
"when piped through [ Gzip, Gunzip ] to yield output satisfying when decoded as 'ascii' not to contain 'IMPLIED WARRANTIES'\n" +
" expected Gunzip\n" +
" to yield output satisfying 'when decoded as', 'ascii', 'not to contain', 'IMPLIED WARRANTIES'\n" +
" expected Buffer([0x43, 0x6F, 0x70, 0x79, 0x72, 0x69, 0x67, 0x68, 0x74, 0x20, 0x28, 0x63, 0x29, 0x20, 0x32, 0x30 /* 1478 more */ ])\n" +
Expand Down Expand Up @@ -296,7 +296,7 @@ describe("documentation tests", function () {
}).caught(function (e) {
expect(e, "to have message",
"expected 'How about that'\n" +
"when piped through [ Gzip, Gunzip ] to yield output satisfying when decoded as 'utf-8', 'not to contain', 'about'\n" +
"when piped through [ Gzip, Gunzip ] to yield output satisfying when decoded as 'utf-8' not to contain 'about'\n" +
" expected Gunzip\n" +
" to yield output satisfying 'when decoded as', 'utf-8', 'not to contain', 'about'\n" +
" expected Buffer([0x48, 0x6F, 0x77, 0x20, 0x61, 0x62, 0x6F, 0x75, 0x74, 0x20, 0x74, 0x68, 0x61, 0x74])\n" +
Expand Down

0 comments on commit e495ca9

Please sign in to comment.