1
0
Fork 0
forked from 0x2620/oxjs

use simplified async test syntax

This commit is contained in:
rolux 2012-05-27 18:44:00 +02:00
commit b44b2da4d2
2 changed files with 8 additions and 1 deletions

View file

@ -139,7 +139,7 @@ Ox.encodeDeflate <f> Encodes a string, using deflate
head, tail and chunk names are removed.
(str) -> <s> The encoded string
str <s> The string to be encoded
> Ox.decodeDeflate(Ox.encodeDeflate('foo'), function(str) { Ox.test.async('Ox.encodeDeflate', str == 'foo'); })
> Ox.decodeDeflate(Ox.encodeDeflate('foo'), function(str) { Ox.test(str, 'foo'); })
undefined
@*/
Ox.encodeDeflate = function(string, callback) {