Re: [streams] Port a bunch of tests to web-platform-tests format (#397)

> +                } catch (error) {
> +                    assert_equals(error.name, 'RangeError', 'enqueue should throw a RangeError for ' + elements[i]);
> +                    theError[i] = error;
> +                }
> +            }
> +        },
> +        {
> +            size: function() {
> +                return elements[i];
> +            },
> +            highWaterMark: 5
> +        });
> +
> +        var catchFunction = function(i, e) {
> +            assert_equals(e, theError[i], 'closed should reject with the error for ' + elements[i]);
> +            if (++numberOfCalls, elements.length) {

s/,/==/

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/397/files#r42096162

Received on Thursday, 15 October 2015 08:37:00 UTC